class RoutingSocket
|
RoutingSocket class opens a routing socket and forwards data arriving
on the socket to RoutingSocketObservers. More... |
|
|
Public Types
Public Methods
RoutingSocket class opens a routing socket and forwards data arriving
on the socket to RoutingSocketObservers. The RoutingSocket hooks itself
into the EventLoop and activity usually happens asynchronously.
~RoutingSocket ()
| ~RoutingSocket |
inline bool is_open ()
| is_open |
[const]
ssize_t write (const void* data, size_t nbytes)
| write |
Write data to routing socket. Update sequence number associated
with routing socket.
inline uint32_t seqno ()
| seqno |
[const]
Get sequence number for next message written into kernel.
Sequence number is derived of the instance number of the routing
socket and a 16bit counter.
[const]
Get cached process identifier value.
void force_read ()
| force_read |
Force socket to read data - usually performed after writing
a request that the kernel will answer, eg after writing a route
lookup.
Use sparingly, with caution, and at your own risk.
Generated by: pavlin on possum.icir.org on Wed Dec 11 16:50:56 2002, using kdoc 2.0a54+XORP. |