class IfMgrCommandDispatcher

Class to dispatch Interface Manager Commands. More...

Definition#include <ifmgr_cmd_queue.hh>
InheritsIfMgrCommandSinkBase [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Protected Members


Detailed Description

This class buffers exactly one Interface Manager Command (IfMgrCommandBase) and applies it to an Interface Manager Configuration Tree (IfMgrIfTree) when it's execute() method is called.

typedef IfMgrCommandSinkBase::Cmd Cmd

Cmd

 IfMgrCommandDispatcher (IfMgrIfTree& tree)

IfMgrCommandDispatcher

Constructor

Parameters:
treeconfiguration tree to apply commands to.

void  push (const Cmd& cmd)

push

Push a command into local storage ready for execution.

Reimplemented from IfMgrCommandSinkBase.

bool  execute ()

execute

[virtual]

Execute command.

Returns: command return status (true indicates success, false failure).

Cmd _cmd

_cmd

[protected]

IfMgrIfTree& _iftree

_iftree

[protected]


Generated by: pavlin on possum.icir.org on Thu Nov 6 23:46:59 2003, using kdoc 2.0a54+XORP.