xorp

IfMgrIPv4SetMulticastCapable Class Reference

Command to mark virtual interface address as multicast capable. More...

#include <ifmgr_cmds.hh>

Inheritance diagram for IfMgrIPv4SetMulticastCapable:
IfMgrIPv4CommandBase IfMgrVifCommandBase IfMgrIfCommandBase IfMgrCommandBase

List of all members.

Public Member Functions

 IfMgrIPv4SetMulticastCapable (const string &ifname, const string &vifname, const IPv4 &addr, bool multicast_capable)
bool multicast_capable () 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

bool _multicast_capable

Detailed Description

Command to mark virtual interface address as multicast capable.


Member Function Documentation

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

Execute Command to interface tree.

Returns:
true on success, false on failure.

Implements IfMgrCommandBase.

bool IfMgrIPv4SetMulticastCapable::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