xorp

SetAddr4Enabled Class Reference

Class to set enable state of an IPv4 address associated with a vif. More...

#include <ifconfig_transaction.hh>

Inheritance diagram for SetAddr4Enabled:
Addr4Modifier VifModifier InterfaceModifier IfConfigTransactionOperation TransactionOperation

List of all members.

Public Member Functions

 SetAddr4Enabled (IfConfig &ifconfig, const string &ifname, const string &vifname, const IPv4 &addr, bool enabled)
bool dispatch ()
 Dispatch operation.
string str () const

Protected Attributes

bool _enabled

Detailed Description

Class to set enable state of an IPv4 address associated with a vif.


Member Function Documentation

bool SetAddr4Enabled::dispatch ( ) [inline, virtual]

Dispatch operation.

Returns:
true on success, false on error.

Implements TransactionOperation.

string SetAddr4Enabled::str ( ) const [inline, virtual]
Returns:
string representation of operation.

Implements TransactionOperation.


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