class XrlTestPeerV0p1Client


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Members


Detailed Description

 XrlTestPeerV0p1Client (XrlSender* s)

XrlTestPeerV0p1Client

 ~XrlTestPeerV0p1Client ()

~XrlTestPeerV0p1Client

[virtual]

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

RegisterCB

bool  send_register ( const char* target_name, const string& coordinator, const uint32_t& genid, const RegisterCB& cb )

send_register

Send Xrl intended to:

Register for receiving packets and events. The registering process must implement the "datain" interface in order to receive data.

Parameters:

tgt_nameXrl Target name
genidGeneration id.
typedef XorpCallback1<void, const XrlError&>::RefPtr PacketisationCB

PacketisationCB

bool  send_packetisation ( const char* target_name, const string& protocol, const PacketisationCB& cb )

send_packetisation

Send Xrl intended to:

Packetisation style.

Parameters:

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

ConnectCB

bool  send_connect ( const char* target_name, const string& host, const uint32_t& port, const ConnectCB& cb )

send_connect

Send Xrl intended to:

Make a tcp connection to the specified host and port.

Parameters:

tgt_nameXrl Target name
hostname.
portnumber.
typedef XorpCallback1<void, const XrlError&>::RefPtr ListenCB

ListenCB

bool  send_listen ( const char* target_name, const string& address, const uint32_t& port, const ListenCB& cb )

send_listen

Send Xrl intended to:

Listen for connections on this address and port.

Parameters:

tgt_nameXrl Target name
addresslocal address.
portlocal port number.
typedef XorpCallback1<void, const XrlError&>::RefPtr BindCB

BindCB

bool  send_bind ( const char* target_name, const string& address, const uint32_t& port, const BindCB& cb )

send_bind

Send Xrl intended to:

Bind the port but don't perform the listen or accept.

Parameters:

tgt_nameXrl Target name
addresslocal address.
portlocal port number.
typedef XorpCallback1<void, const XrlError&>::RefPtr SendCB

SendCB

bool  send_send ( const char* target_name, const vector<uint8_t>& data, const SendCB& cb )

send_send

Send Xrl intended to:

Send data Send data to the peer.

Parameters:

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

DisconnectCB

bool  send_disconnect ( const char* target_name, const DisconnectCB& cb )

send_disconnect

Send Xrl intended to:

Disconnect from the peer.

Parameters:

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

ResetCB

bool  send_reset ( const char* target_name, const ResetCB& cb )

send_reset

Send Xrl intended to:

Reset the peer. Take it back to a known state.

Parameters:

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

TerminateCB

bool  send_terminate ( const char* target_name, const TerminateCB& cb )

send_terminate

Send Xrl intended to:

Terminate the test peer process.

Parameters:

tgt_nameXrl Target name
XrlSender* _sender

_sender

[protected]


Generated by: pavlin on possum.icir.org on Thu Jul 8 23:48:16 2004, using kdoc $.