class XrlSocket4UserV0p1Client


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Members


Detailed Description

 XrlSocket4UserV0p1Client (XrlSender* s)

XrlSocket4UserV0p1Client

 ~XrlSocket4UserV0p1Client ()

~XrlSocket4UserV0p1Client

[virtual]

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

RecvEventCB

bool  send_recv_event ( const char* dst_xrl_target_name, const string& sockid, const IPv4& 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 socket4/0.1 when a packet arrives from an IPv4 source.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
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* dst_xrl_target_name, const string& sockid, const IPv4& 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 socket4/0.1 when a connection request is received from an IPv4 source.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
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 socket4/0.1 when an error occurs.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
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* dst_xrl_target_name, const string& sockid, const string& reason, const CloseEventCB& cb )

send_close_event

Send Xrl intended to:

Method invoked by target implementing socket4/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:

dst_xrl_target_namethe Xrl target name of the destination.
XrlSender* _sender

_sender

[protected]


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:06 2006, using kdoc $.