1#if !defined(TcpConnection_hxx)
2#define TcpConnection_hxx
16 int read(
char* buf,
const int count );
17 int write(
const char* buf,
const int count );
virtual Transport * transport() const
Connection implements, via sockets, ConnectionBase for managed connections.
int read()
move data from the connection to the buffer; move this to front of least recently used list.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
virtual bool hasDataToRead()
always true – always add to fdset as read ready
virtual bool isGood()
has valid connection
int write(const char *buf, const int count)
pure virtual, but need concrete Connection for book-ends of lists
virtual bool isWritable()
The base class for Transport classes.
Represents a network address.
dcm! – add UnusedChecking(_enum) below;