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* dst_xrl_target_name, const string& sockid, const string& if_name, const string& vif_name, 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:

dst_xrl_target_namethe Xrl target name of the destination.
sockidthe identifier associated with socket where the event occurred.
if_namethe interface name the packet arrived on, if known. If unknown, then it is an empty string.
vif_namethe vif name the packet arrived on, if known. If unknown, then it is an empty string.
src_hostthe originating host.
src_portthe originating IP port.
datathe data received.
typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr InboundConnectEventCB

InboundConnectEventCB

bool  send_inbound_connect_event ( const char* dst_xrl_target_name, const string& sockid, const IPv6& src_host, const uint32_t& src_port, const string& new_sockid, const InboundConnectEventCB& cb )

send_inbound_connect_event

Send Xrl intended to:

Method invoked by target implementing socket6/0.1 when a connection request is received from an IPv6 source. It applies only to TCP sockets.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
sockidthe identifier associated with socket where the event occurred.
src_hostthe connecting host.
src_portthe connecting IP port.
new_sockidthe identifier associated with the new socket that has been created to handle the new connection.
typedef XorpCallback1<void, const XrlError&>::RefPtr OutgoingConnectEventCB

OutgoingConnectEventCB

bool  send_outgoing_connect_event ( const char* dst_xrl_target_name, const string& sockid, const OutgoingConnectEventCB& cb )

send_outgoing_connect_event

Send Xrl intended to:

Method invoked by target implementing socket6/0.1 when an outgoing connection request originated by the local host is completed. It applies only to TCP sockets. Note that if the connection failed, the error_event will be dispatched instead.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
sockidthe identifier associated with socket where the event occurred.
typedef XorpCallback1<void, const XrlError&>::RefPtr ErrorEventCB

ErrorEventCB

bool  send_error_event ( const char* dst_xrl_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:

dst_xrl_target_namethe Xrl target name of the destination.
sockidthe identifier associated with socket where the event occurred.
errora textual description of the error.
fatalindication of whether socket is shutdown because of error.
typedef XorpCallback1<void, const XrlError&>::RefPtr DisconnectEventCB

DisconnectEventCB

bool  send_disconnect_event ( const char* dst_xrl_target_name, const string& sockid, const DisconnectEventCB& cb )

send_disconnect_event

Send Xrl intended to:

Method invoked by target implementing socket6/0.1 when the peer has closed the connection. It applies only to TCP sockets. Note that the socket itself is left open and must be explicitly closed.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
sockidthe identifier associated with socket where the event occurred.
XrlSender* _sender

_sender

[protected]


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:10:48 2009, using kdoc 2.0a54+XORP.