Class for handling Class 0 and Class 2 Transport. More...
#include <TPlayer.h>
Public Types | |
| enum | State { CLOSED , WFNC , WFCR , WFCC , WBCL , OPEN , CLOSING , WFTRESP } |
Public Member Functions | |
| Layer (int off) | |
| void | SetInbound () |
| Set as inbound Layer. | |
| void | SetLink (Provider *pp, Layer2Net *np) |
| Set the links. | |
| void | Configure (unsigned maxt, unsigned cls) |
| Configure. | |
| EVENTSVC_DLL void | Deliver (ConnectRequest *req) |
| TCONreq. | |
| EVENTSVC_DLL void | Deliver (ConnectResponse *req) |
| TCONresp. | |
| EVENTSVC_DLL void | Deliver (DataRequest *req) |
| TDTreq/TEXreq. | |
| EVENTSVC_DLL void | Deliver (DisconnectRequest *data) |
| TDISreq. | |
| void | NetworkConnect (NSAPaddr &calling, NSAPaddr &called) |
| Initialize from network connection for inbound connection. | |
| EVENTSVC_DLL void | NetworkRead (struct qbuf *qb) |
| Handle data from network. | |
| EVENTSVC_DLL bool | NetworkStatus (MSGstruct *msp) |
| Network status indication. | |
| EVENTSVC_DLL void | GetSaveInfo (char *buffer, size_t buflen) |
| Get save information from layer. | |
| EVENTSVC_DLL bool | SetSaveInfo (const char *buffer) |
| Set state from save info. | |
| EVENTSVC_DLL void | SendConnectIndication () |
| Send TS user a connect indication. | |
Detailed Description
Member Enumeration Documentation
◆ State
Constructor & Destructor Documentation
◆ Layer()
|
inline |
Definition at line 288 of file TPlayer.h.
◆ ~Layer()
| Transport::Layer::~Layer | ( | ) |
Member Function Documentation
◆ SetInbound()
|
inline |
◆ SetLink()
|
inline |
◆ Configure()
|
inline |
Configure.
Definition at line 313 of file TPlayer.h.
References TP_CLASS_0.
◆ Deliver() [1/4]
| void Transport::Layer::Deliver | ( | ConnectRequest * | req | ) |
TCONreq.
Definition at line 83 of file TPlayer.C.
References Transport::Layer2Net::ConnectRequest(), TP_CLASS_0, and WFNC.
◆ Deliver() [2/4]
| void Transport::Layer::Deliver | ( | ConnectResponse * | req | ) |
TCONresp.
Definition at line 152 of file TPlayer.C.
◆ Deliver() [3/4]
| void Transport::Layer::Deliver | ( | DataRequest * | req | ) |
TDTreq/TEXreq.
Definition at line 179 of file TPlayer.C.
References OPEN.
◆ Deliver() [4/4]
| void Transport::Layer::Deliver | ( | DisconnectRequest * | data | ) |
TDISreq.
Definition at line 198 of file TPlayer.C.
References CLOSING, Transport::Layer2Net::DisconnectRequest(), OPEN, TP_CLASS_0, WBCL, WFCC, WFCR, WFNC, and WFTRESP.
◆ NetworkConnect()
|
inline |
◆ NetworkRead()
| void Transport::Layer::NetworkRead | ( | struct qbuf * | qb | ) |
Handle data from network.
Definition at line 244 of file TPlayer.C.
◆ NetworkStatus()
| bool Transport::Layer::NetworkStatus | ( | MSGstruct * | msp | ) |
Network status indication.
Definition at line 306 of file TPlayer.C.
◆ GetSaveInfo()
| void Transport::Layer::GetSaveInfo | ( | char * | buffer, |
| size_t | buflen | ||
| ) |
Get save information from layer.
Definition at line 524 of file TPlayer.C.
◆ SetSaveInfo()
| bool Transport::Layer::SetSaveInfo | ( | const char * | buffer | ) |
Set state from save info.
Definition at line 545 of file TPlayer.C.
◆ SendConnectIndication()
| void Transport::Layer::SendConnectIndication | ( | ) |
Send TS user a connect indication.
Definition at line 752 of file TPlayer.C.
References TP_CLASS_0.
The documentation for this class was generated from the following files: