33#define MAX_CHANNELS_PSION 256
34#define MAX_CHANNELS_SIBO 8
35#define NCP_SENDLEN 250
57 NCP(
const char *fname,
61 const int cancellationFd,
A generic container for an array of bytes.
const char * ctrlMsgName(unsigned char)
void registerPcServer(TCPSocket *skt, const char *name)
PcServer * findPcServer(const char *name)
void unregisterPcServer(PcServer *server)
BufferStore * messageList
interControllerMessageType
@ NCON_MSG_CONNECT_TO_SERVER
@ NCON_MSG_CHANNEL_DISCONNECT
@ NCON_MSG_CHANNEL_CLOSED
@ NCON_MSG_CONNECT_RESPONSE
void decodeControlMessage(BufferStore &buff)
void Register(Channel *c)
void controlChannel(int chan, enum interControllerMessageType t, BufferStore &command)
NCPStatusCallback statusCallback_
void send(int channel, BufferStore &a)
short int getProtocolVersion()
short int protocolVersion
void disconnect(int channel)
std::vector< PcServer > pcServers
void receive(BufferStore s)
void RegisterAck(int, const char *)
Representation of a server process on the PC A dummy which does not allow connects for now.
bool clientConnect(int, int)
PcServer(TCPSocket *, std::string _name)
A class for dealing with sockets.
void(* NCPStatusCallback)(void *context, bool isConnected, int protocolVersion)