class NetlinkSocketObserver


Contains pure virtuals
Definition#include <netlink_socket.hh>
Inherited byFtiConfigEntryObserverNetlink, FtiConfigTableObserverNetlink, IfConfigObserverNetlink, NetlinkSocketReader
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

 NetlinkSocketObserver (NetlinkSocket4& ns4, NetlinkSocket6& ns6)

NetlinkSocketObserver

 ~NetlinkSocketObserver ()

~NetlinkSocketObserver

[virtual]

void  nlsock_data (const uint8_t* data, size_t nbytes)

nlsock_data

[pure virtual]

Receive data from the netlink socket.

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

Parameters:
datathe buffer with the received data.
nbytesthe number of bytes in the data buffer.

NetlinkSocket&  netlink_socket4 ()

netlink_socket4

Get NetlinkSocket for IPv4 associated with Observer.

NetlinkSocket&  netlink_socket6 ()

netlink_socket6

Get NetlinkSocket for IPv6 associated with Observer.


Generated by: pavlin on possum.icir.org on Thu Nov 6 23:46:57 2003, using kdoc 2.0a54+XORP.