Class tcpComm

Inheritance Relationships

Base Type

Class Documentation

class tcpComm : public Communication

Public Functions

tcpComm()
~tcpComm()
virtual int CommConnect(std::string addr, uint16_t port)
virtual int CommRead(unsigned char *buffer, int buf_size)
virtual int CommWrite(unsigned char *buffer, int buf_size)
virtual void CommDisconnect()
virtual bool IsConnected(void)
int getServerSocket(void)
bool getthreadRunning(void)
bool getRcvTimeout(void)
bool getRcvError(void)
void setConnected(bool flag)
void setThreadRunning(bool flag)
void setRcvTimeout(bool flag)
void setRcvError(bool flag)

Friends

friend void *readCallback(void *arg)