xorp

XrlTestFeaIfmgrMirrorTargetBase Class Reference

Inheritance diagram for XrlTestFeaIfmgrMirrorTargetBase:
XrlTestFeaIfmgrMirrorTarget

List of all members.

Classes

struct  handler_table

Public Member Functions

 XrlTestFeaIfmgrMirrorTargetBase (XrlCmdMap *cmds=0)
 Constructor.
virtual ~XrlTestFeaIfmgrMirrorTargetBase ()
 Destructor.
bool set_command_map (XrlCmdMap *cmds)
 Set command map.
const string & get_name () const
 Get Xrl instance name associated with command map.
const char * version () const
 Get version string of instance.
 XrlTestFeaIfmgrMirrorTargetBase (XrlCmdMap *cmds=0)
 Constructor.
virtual ~XrlTestFeaIfmgrMirrorTargetBase ()
 Destructor.
bool set_command_map (XrlCmdMap *cmds)
 Set command map.
const string & get_name () const
 Get Xrl instance name associated with command map.
const char * version () const
 Get version string of instance.

Protected Member Functions

virtual XrlCmdError ifmgr_replicator_0_1_register_ifmgr_mirror (const string &clientname)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError ifmgr_replicator_0_1_unregister_ifmgr_mirror (const string &clientname)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError ifmgr_replicator_0_1_register_ifmgr_mirror (const string &clientname)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError ifmgr_replicator_0_1_unregister_ifmgr_mirror (const string &clientname)=0
 Pure-virtual function that needs to be implemented to:

Protected Attributes

XrlCmdMap_cmds

Private Member Functions

XrlCmdRT handle_ifmgr_replicator_0_1_register_ifmgr_mirror (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_ifmgr_replicator_0_1_unregister_ifmgr_mirror (const XrlArgs &in, XrlCmdOT out)
void add_handlers ()
void remove_handlers ()
XrlCmdRT handle_ifmgr_replicator_0_1_register_ifmgr_mirror (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_ifmgr_replicator_0_1_unregister_ifmgr_mirror (const XrlArgs &in, XrlCmdOT out)
void add_handlers ()
void remove_handlers ()

Static Private Attributes

static struct handler_table handlers []
static const size_t num_handlers = (sizeof(XrlTestFeaIfmgrMirrorTargetBase::handlers) / sizeof(XrlTestFeaIfmgrMirrorTargetBase::handlers[0]))

Constructor & Destructor Documentation

XrlTestFeaIfmgrMirrorTargetBase::XrlTestFeaIfmgrMirrorTargetBase ( XrlCmdMap cmds = 0)

Constructor.

Parameters:
cmdsan XrlCmdMap that the commands associated with the target should be added to. This is typically the XrlRouter associated with the target.
XrlTestFeaIfmgrMirrorTargetBase::~XrlTestFeaIfmgrMirrorTargetBase ( ) [virtual]

Destructor.

Dissociates instance commands from command map.

XrlTestFeaIfmgrMirrorTargetBase::XrlTestFeaIfmgrMirrorTargetBase ( XrlCmdMap cmds = 0)

Constructor.

Parameters:
cmdsan XrlCmdMap that the commands associated with the target should be added to. This is typically the XrlRouter associated with the target.
virtual XrlTestFeaIfmgrMirrorTargetBase::~XrlTestFeaIfmgrMirrorTargetBase ( ) [virtual]

Destructor.

Dissociates instance commands from command map.


Member Function Documentation

virtual XrlCmdError XrlTestFeaIfmgrMirrorTargetBase::ifmgr_replicator_0_1_register_ifmgr_mirror ( const string &  clientname) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Register remote mirror of interface state.

Implemented in XrlTestFeaIfmgrMirrorTarget.

virtual XrlCmdError XrlTestFeaIfmgrMirrorTargetBase::ifmgr_replicator_0_1_register_ifmgr_mirror ( const string &  clientname) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Register remote mirror of interface state.

Implemented in XrlTestFeaIfmgrMirrorTarget.

virtual XrlCmdError XrlTestFeaIfmgrMirrorTargetBase::ifmgr_replicator_0_1_unregister_ifmgr_mirror ( const string &  clientname) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Register remote mirror of interface state.

Implemented in XrlTestFeaIfmgrMirrorTarget.

virtual XrlCmdError XrlTestFeaIfmgrMirrorTargetBase::ifmgr_replicator_0_1_unregister_ifmgr_mirror ( const string &  clientname) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Register remote mirror of interface state.

Implemented in XrlTestFeaIfmgrMirrorTarget.

bool XrlTestFeaIfmgrMirrorTargetBase::set_command_map ( XrlCmdMap cmds)

Set command map.

Parameters:
cmdspointer to command map to associate commands with. This argument is typically a pointer to the XrlRouter associated with the target.
Returns:
true on success, false if cmds is null or a command map has already been supplied.
bool XrlTestFeaIfmgrMirrorTargetBase::set_command_map ( XrlCmdMap cmds)

Set command map.

Parameters:
cmdspointer to command map to associate commands with. This argument is typically a pointer to the XrlRouter associated with the target.
Returns:
true on success, false if cmds is null or a command map has already been supplied.

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