32#define MAX_CHANNELS_PSION 256
33#define MAX_CHANNELS_SIBO 8
34#define NCP_SENDLEN 250
56 NCP(
const char *fname,
int baud,
unsigned short verbose,
const int cancellationFd);
const char * ctrlMsgName(unsigned char)
unsigned short getVerbose()
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 Register(channel *c)
void receive(bufferStore s)
void decodeControlMessage(bufferStore &buff)
void setVerbose(unsigned short)
short int getProtocolVersion()
short int protocolVersion
void disconnect(int channel)
std::vector< PcServer > pcServers
void send(int channel, bufferStore &a)
void controlChannel(int chan, enum interControllerMessageType t, bufferStore &command)
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.
A generic container for an array of bytes.