class XrlSocket6UserV0p1Client


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Members


Detailed Description

 XrlSocket6UserV0p1Client (XrlSender* s)

XrlSocket6UserV0p1Client

 ~XrlSocket6UserV0p1Client ()

~XrlSocket6UserV0p1Client

[virtual]

typedef XorpCallback1<void, const XrlError&>::RefPtr RecvEventCB

RecvEventCB

bool  send_recv_event ( const char* target_name, const string& sockid, const IPv6& src_host, const uint32_t& src_port, const vector<uint8_t>& data, const RecvEventCB& cb )

send_recv_event

Send Xrl intended to:

Method invoked by target implementing socket6/0.1 when a packet arrives from an IPv6 source.

Parameters:

tgt_nameXrl Target name
sockidthe identifier associated with socket where error occurred.
src_hostthe originating host.
src_portthe originating IP port.
datathe data received.
typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr ConnectEventCB

ConnectEventCB

bool  send_connect_event ( const char* target_name, const string& sockid, const IPv6& src_host, const uint32_t& src_port, const string& new_sockid, const ConnectEventCB& cb )

send_connect_event

Send Xrl intended to:

Method invoked by target implementing socket6/0.1 when a connection request is received from an IPv6 source.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr ErrorEventCB

ErrorEventCB

bool  send_error_event ( const char* target_name, const string& sockid, const string& error, const bool& fatal, const ErrorEventCB& cb )

send_error_event

Send Xrl intended to:

Method invoked by target implementing socket6/0.1 when an error occurs.

Parameters:

tgt_nameXrl Target name
sockidthe identifier associated with socket where error occurred.
errora textual description of the error.
fatalindication of whether socket is shutdown because of error.
typedef XorpCallback1<void, const XrlError&>::RefPtr CloseEventCB

CloseEventCB

bool  send_close_event ( const char* target_name, const string& sockid, const string& reason, const CloseEventCB& cb )

send_close_event

Send Xrl intended to:

Method invoked by target implementing socket6/0.1 when a socket is forcibly closed. This would typically happen when the address the socket is bound to is removed from an interface. This method is not called if the socket is closed through socket/0.1/close.

Parameters:

tgt_nameXrl Target name
XrlSender* _sender

_sender

[protected]


Generated by: pavlin on possum.icir.org on Thu Mar 9 04:42:40 2006, using kdoc $.