class IoRawSocket4

Raw socket class supporting input and output. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods


Detailed Description

Raw socket class supporting input and output. Output is handled with write() and writev() methods inherited from RawSocket. Reads are handled asynchronously. When data arrives on the underlying socket, recv is called and reads it into a per instance buffer. The abstract method process_recv_data is then called with a reference to a buffer containing the data.

 IoRawSocket4 (EventLoop& e, uint32_t protocol, bool autohook = true)
throw (RawSocketException)

IoRawSocket4

 ~IoRawSocket4 ()

~IoRawSocket4

void  process_recv_data (const vector<uint8_t>& buf)

process_recv_data

[protected pure virtual]

void  recv (int fd, SelectorMask m)

recv

[protected]

bool  eventloop_hook ()

eventloop_hook

[protected]

void  eventloop_unhook ()

eventloop_unhook

[protected]


Generated by: pavlin on possum.icir.org on Thu Jul 8 23:48:26 2004, using kdoc $.