xorp

TestReceiver Class Reference

Inheritance diagram for TestReceiver:
XrlTestXrlsTargetBase

List of all members.

Public Member Functions

 TestReceiver (EventLoop &eventloop, XrlRouter *xrl_router, FILE *output)
bool done () const
void print_xrl_received () const
void enable_sampler ()

Private Member Functions

XrlCmdError common_0_1_get_target_name (string &name)
 Pure-virtual function that needs to be implemented to:
XrlCmdError common_0_1_get_version (string &version)
 Pure-virtual function that needs to be implemented to:
XrlCmdError common_0_1_get_status (uint32_t &status, string &reason)
 Pure-virtual function that needs to be implemented to:
XrlCmdError common_0_1_shutdown ()
 Pure-virtual function that needs to be implemented to:
XrlCmdError common_0_1_startup ()
 Pure-virtual function that needs to be implemented to:
XrlCmdError test_xrls_0_1_start_transmission ()
XrlCmdError test_xrls_0_1_end_transmission ()
XrlCmdError test_xrls_0_1_add_xrl0 ()
XrlCmdError test_xrls_0_1_add_xrl1 (const string &data1)
XrlCmdError test_xrls_0_1_add_xrl2 (const string &data1, const string &data2)
XrlCmdError test_xrls_0_1_add_xrl9 (const bool &data1, const int32_t &data2, const IPv4 &data3, const IPv4Net &data4, const IPv6 &data5, const IPv6Net &data6, const Mac &data7, const string &data8, const vector< uint8_t > &data9)
XrlCmdError test_xrls_0_1_add_xrlx (const XrlAtomList &)
void print_statistics ()

Private Attributes

EventLoop_eventloop
FILE * _output
TimeVal _start_time
TimeVal _end_time
size_t _received_xrls
XorpTimer _exit_timer
bool _done
bool _sample

Member Function Documentation

XrlCmdError TestReceiver::common_0_1_get_status ( uint32_t &  status,
string &  reason 
) [private, virtual]

Pure-virtual function that needs to be implemented to:

Get status of Xrl Target

Implements XrlTestXrlsTargetBase.

XrlCmdError TestReceiver::common_0_1_get_target_name ( string &  name) [private, virtual]

Pure-virtual function that needs to be implemented to:

Get name of Xrl Target

Implements XrlTestXrlsTargetBase.

XrlCmdError TestReceiver::common_0_1_get_version ( string &  version) [private, virtual]

Pure-virtual function that needs to be implemented to:

Get version string from Xrl Target

Implements XrlTestXrlsTargetBase.

XrlCmdError TestReceiver::common_0_1_shutdown ( ) [private, virtual]

Pure-virtual function that needs to be implemented to:

Request clean shutdown of Xrl Target

Implements XrlTestXrlsTargetBase.

XrlCmdError TestReceiver::common_0_1_startup ( ) [inline, private, virtual]

Pure-virtual function that needs to be implemented to:

Request a startup of Xrl Target

Implements XrlTestXrlsTargetBase.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations