class RoutingSocketReader


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

 RoutingSocketReader (RoutingSocket& rs)

RoutingSocketReader

 ~RoutingSocketReader ()

~RoutingSocketReader

[virtual]

int  receive_data (RoutingSocket& rs, uint32_t seqno, string& error_msg)

receive_data

Force the reader to receive data from the specified routing socket.

Parameters:

rsthe routing socket to receive the data from.
seqnothe sequence number of the data to receive.
error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

const vector<uint8_t>&  buffer ()

buffer

[const]

Get the buffer with the data that was received.

Returns: a reference to the buffer with the data that was received.

void  rtsock_data (const vector<uint8_t>& buffer)

rtsock_data

[virtual]

Receive data from the routing socket.

Note that this method is called asynchronously when the routing socket has data to receive, therefore it should never be called directly by anything else except the routing socket facility itself.

Parameters:

bufferthe buffer with the received data.

Reimplemented from RoutingSocketObserver.


Generated by: pavlin on possum.icir.org on Wed Mar 21 11:23:22 2007, using kdoc $.