|
plptools
|
#include <socketchannel.h>


Public Member Functions | |
| SocketChannel (TCPSocket *socket, NCP *ncp) | |
| virtual | ~SocketChannel () |
| void | ncpDataCallback (bufferStore &a) |
| const char * | getNcpRegisterName () |
| void | ncpConnectAck () |
| void | ncpRegisterAck () |
| void | ncpDoRegisterAck (int) |
| void | ncpConnectTerminate () |
| void | ncpConnectNak () |
| bool | isConnected () const |
| void | socketPoll () |
Public Member Functions inherited from channel | |
| channel (NCP *ncpController) | |
| virtual | ~channel ()=0 |
| void | newNcpController (NCP *ncpController) |
| void | setNcpChannel (int chan) |
| int | getNcpChannel (void) |
| void | ncpSend (bufferStore &a) |
| void | setVerbose (short int _verbose) |
| short int | getVerbose () |
| virtual void | ncpDataCallback (bufferStore &a)=0 |
| virtual const char * | getNcpRegisterName ()=0 |
| void | ncpConnect () |
| void | ncpRegister () |
| void | ncpDoRegisterAck (int ch, const char *name) |
| virtual void | ncpConnectAck ()=0 |
| virtual void | ncpConnectTerminate ()=0 |
| virtual void | ncpConnectNak ()=0 |
| virtual void | ncpRegisterAck ()=0 |
| void | ncpDisconnect () |
| short int | ncpProtocolVersion () |
| const char * | getNcpConnectName () |
| void | setNcpConnectName (const char *) |
| bool | shouldTerminate () const |
| Indicates that the channel needs termination and should be cleaned-up. More... | |
| void | terminateWhenAsked () |
| PcServer * | ncpFindPcServer (const char *name) |
| void | ncpRegisterPcServer (TCPSocket *skt, const char *name) |
| void | ncpUnregisterPcServer (PcServer *server) |
| int | ncpGetSpeed () |
Private Types | |
| enum | protocolVersionType { PV_SERIES_5 = 6 , PV_SERIES_3 = 3 } |
Private Member Functions | |
| bool | ncpCommand (bufferStore &a) |
Private Attributes | |
| TCPSocket * | socket_ |
| char * | registerName_ |
| bool | isConnected_ |
| int | connectTry_ |
| int | connectTryTimestamp_ |
Additional Inherited Members | |
Protected Attributes inherited from channel | |
| short int | verbose |
| const char * | connectName |
Definition at line 28 of file socketchannel.h.
|
private |
| Enumerator | |
|---|---|
| PV_SERIES_5 | |
| PV_SERIES_3 | |
Definition at line 44 of file socketchannel.h.
Definition at line 34 of file socketchannel.cc.
|
virtual |
Definition at line 42 of file socketchannel.cc.
|
virtual |
Implements channel.
Definition at line 57 of file socketchannel.cc.
| bool SocketChannel::isConnected | ( | ) | const |
Definition at line 247 of file socketchannel.cc.
|
private |
Definition at line 62 of file socketchannel.cc.
|
virtual |
Implements channel.
Definition at line 133 of file socketchannel.cc.
|
virtual |
Implements channel.
Definition at line 153 of file socketchannel.cc.
|
virtual |
Implements channel.
Definition at line 141 of file socketchannel.cc.
|
virtual |
Implements channel.
Definition at line 50 of file socketchannel.cc.
|
inline |
Definition at line 37 of file socketchannel.h.
|
virtual |
Implements channel.
Definition at line 148 of file socketchannel.cc.
| void SocketChannel::socketPoll | ( | ) |
Definition at line 163 of file socketchannel.cc.
|
private |
Definition at line 50 of file socketchannel.h.
|
private |
Definition at line 51 of file socketchannel.h.
|
private |
Definition at line 49 of file socketchannel.h.
|
private |
Definition at line 48 of file socketchannel.h.
|
private |
Definition at line 47 of file socketchannel.h.