xorp

IfMgrIfSetBaudrate Class Reference

Command to set the baudrate of interface. More...

#include <ifmgr_cmds.hh>

Inheritance diagram for IfMgrIfSetBaudrate:
IfMgrIfCommandBase IfMgrCommandBase

List of all members.

Public Member Functions

 IfMgrIfSetBaudrate (const string &ifname, uint64_t baudrate)
uint64_t baudrate () const
bool execute (IfMgrIfTree &tree) const
 Execute Command to interface tree.
bool forward (XrlSender &sender, const string &xrl_target, const IfMgrXrlSendCB &xscb) const
 Forward Command as an Xrl call to a remote target.
string str () const
 Render command as string.

Protected Attributes

uint64_t _baudrate

Detailed Description

Command to set the baudrate of interface.


Member Function Documentation

bool IfMgrIfSetBaudrate::execute ( IfMgrIfTree tree) const [virtual]

Execute Command to interface tree.

Returns:
true on success, false on failure.

Implements IfMgrCommandBase.

bool IfMgrIfSetBaudrate::forward ( XrlSender sender,
const string &  xrl_target,
const IfMgrXrlSendCB &  xscb 
) const [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.

Implements IfMgrCommandBase.


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