class IfMgrCommandBase

Base class for Interface Manager Commands. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

Commands may be forwarded either on an existing interface configuration tree (represented by IfMgrIfTree objects) or as Xrls. When forwarded as Xrls the command is sent to a remote target. The two methods of forward are intended to facilitate maintaining local and remote copies of IfMgrIfTree objects.

 ~IfMgrCommandBase ()

~IfMgrCommandBase

[pure virtual]

bool  execute (IfMgrIfTree& tree)

execute

[const pure virtual]

Execute Command to interface tree.

Returns: true on success, false on failure.

bool  forward (XrlSender& sender, const string& xrl_target, const IfMgrXrlSendCB& xscb)

forward

[const pure virtual]

Forward Command as an Xrl call to a remote target.

Parameters:

senderxrl router to use as the command sender.
xrl_targetthe target to direct the command to.
xscbcallback to invoke with Xrl result.

Returns: true on success, false on failure.

string  str ()

str

[const pure virtual]

Render command as string.


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