plptools
Loading...
Searching...
No Matches
linkChan Class Reference

#include <linkchan.h>

Inheritance diagram for linkChan:
Collaboration diagram for linkChan:

Public Member Functions

 linkChan (NCP *ncpController, int ncpChannel=-1)
 
void ncpDataCallback (bufferStore &a)
 
const char * getNcpRegisterName ()
 
void ncpConnectAck ()
 
void ncpConnectTerminate ()
 
void ncpConnectNak ()
 
void ncpRegisterAck ()
 
void Register (channel *)
 
- 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 ()
 
PcServerncpFindPcServer (const char *name)
 
void ncpRegisterPcServer (TCPSocket *skt, const char *name)
 
void ncpUnregisterPcServer (PcServer *server)
 
int ncpGetSpeed ()
 

Private Attributes

int registerSer
 
bufferArray registerStack
 

Additional Inherited Members

- Protected Attributes inherited from channel
short int verbose
 
const char * connectName
 

Detailed Description

Definition at line 30 of file linkchan.h.

Constructor & Destructor Documentation

◆ linkChan()

linkChan::linkChan ( NCP ncpController,
int  ncpChannel = -1 
)

Definition at line 36 of file linkchan.cc.

Member Function Documentation

◆ getNcpRegisterName()

const char * linkChan::getNcpRegisterName ( )
virtual

Implements channel.

Definition at line 90 of file linkchan.cc.

◆ ncpConnectAck()

void linkChan::ncpConnectAck ( )
virtual

Implements channel.

Definition at line 96 of file linkchan.cc.

◆ ncpConnectNak()

void linkChan::ncpConnectNak ( )
virtual

Implements channel.

Definition at line 111 of file linkchan.cc.

◆ ncpConnectTerminate()

void linkChan::ncpConnectTerminate ( )
virtual

Implements channel.

Definition at line 103 of file linkchan.cc.

◆ ncpDataCallback()

void linkChan::ncpDataCallback ( bufferStore a)
virtual

Implements channel.

Definition at line 44 of file linkchan.cc.

◆ ncpRegisterAck()

void linkChan::ncpRegisterAck ( )
inlinevirtual

Implements channel.

Definition at line 39 of file linkchan.h.

◆ Register()

void linkChan::Register ( channel ch)

Definition at line 117 of file linkchan.cc.

Member Data Documentation

◆ registerSer

int linkChan::registerSer
private

Definition at line 42 of file linkchan.h.

◆ registerStack

bufferArray linkChan::registerStack
private

Definition at line 43 of file linkchan.h.


The documentation for this class was generated from the following files: