xorp

XrlCoordTarget Class Reference

Inheritance diagram for XrlCoordTarget:
XrlCoordTargetBase

List of all members.

Public Member Functions

 XrlCoordTarget (XrlRouter *r, Coord &coord)
XrlCmdError common_0_1_get_target_name (string &name)
 Get name of Xrl Target.
XrlCmdError common_0_1_get_version (string &version)
 Get version string from Xrl Target.
XrlCmdError common_0_1_get_status (uint32_t &status, string &reason)
 Get status from Xrl Target.
XrlCmdError common_0_1_startup ()
 Pure-virtual function that needs to be implemented to:
XrlCmdError common_0_1_shutdown ()
 shutdown target
XrlCmdError coord_0_1_command (const string &command)
 Pure-virtual function that needs to be implemented to:
XrlCmdError coord_0_1_status (const string &peer, string &status)
 Pure-virtual function that needs to be implemented to:
XrlCmdError coord_0_1_pending (bool &pending)
 Pure-virtual function that needs to be implemented to:
XrlCmdError datain_0_1_receive (const string &peer, const uint32_t &genid, const bool &status, const uint32_t &secs, const uint32_t &micro, const vector< uint8_t > &data)
XrlCmdError datain_0_1_error (const string &peer, const uint32_t &genid, const string &reason)
XrlCmdError datain_0_1_closed (const string &peer, const uint32_t &genid)

Private Attributes

Coord_coord
int _incommand

Member Function Documentation

XrlCmdError XrlCoordTarget::common_0_1_startup ( ) [inline, virtual]

Pure-virtual function that needs to be implemented to:

Request a startup of Xrl Target

Implements XrlCoordTargetBase.

XrlCmdError XrlCoordTarget::coord_0_1_command ( const string &  command) [virtual]

Pure-virtual function that needs to be implemented to:

Command to be executed by the coordinating process.

Parameters:
commandto be sent to the coordinator.

Implements XrlCoordTargetBase.

XrlCmdError XrlCoordTarget::coord_0_1_pending ( bool &  pending) [virtual]

Pure-virtual function that needs to be implemented to:

If there are still any outstanding commands pending will return true. Can be used to poll the coordinating process to verify that the previous command has completed.

Implements XrlCoordTargetBase.

XrlCmdError XrlCoordTarget::coord_0_1_status ( const string &  peer,
string &  status 
) [virtual]

Pure-virtual function that needs to be implemented to:

Status, show the state of this peer.

Implements XrlCoordTargetBase.


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