Public Member Functions |
bool | Init () |
UnixSocket * | OppositeEnd () |
int | ReadDescriptor () const |
int | WriteDescriptor () const |
bool | Close () |
bool | CloseClient () |
virtual ssize_t | Send (const uint8_t *buffer, unsigned int size) |
virtual ssize_t | Send (IOQueue *data) |
virtual int | Receive (uint8_t *buffer, unsigned int size, unsigned int &data_read) |
virtual bool | SetReadNonBlocking () |
int | DataRemaining () const |
bool | IsClosed () const |
void | SetOnClose (OnCloseCallback *on_close) |
OnCloseCallback * | TransferOnClose () |
void | SetOnData (ola::Callback0< void > *on_read) |
void | SetOnWritable (ola::Callback0< void > *on_write) |
void | PerformRead () |
void | PerformWrite () |
bool | ValidReadDescriptor () const |
bool | ValidWriteDescriptor () const |
Additional Inherited Members |
typedef
ola::SingleUseCallback0< void > | OnCloseCallback |
static bool | SetNonBlocking (int fd) |
The documentation for this class was generated from the following files: