Inherited by packet_handler.
Public Methods | |
void | write (const void *data, int length) |
Protected Methods | |
buffered_handler (io_event_loop &loop, int fd=-1) | |
virtual | ~buffered_handler () |
virtual int | incoming_data (const void *data, int length)=0 |
void | ravail () |
Called by the event loop when bytes are available on the file descriptor (if want_read(true) has been called). More... | |
void | wavail () |
Called by the event loop when bytes may be written on the file descriptor (if want_write(true) has been called). More... | |
Protected Attributes | |
string | rbuf |
string | wbuf |
|
|
|
|
|
Implemented in packet_handler. |
|
Called by the event loop when bytes are available on the file descriptor (if want_read(true) has been called).
Reimplemented from io_handler. |
|
Called by the event loop when bytes may be written on the file descriptor (if want_write(true) has been called).
Reimplemented from io_handler. |
|
|
|
|
|
|