OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AlertAction Class Reference

#include <traffic_action.h>

Inheritance diagram for AlertAction:
Collaboration diagram for AlertAction:

Public Member Functions

 AlertAction ()
 
 ~AlertAction ()
 
virtual bool Compare (const TrafficAction &rhs) const
 
- Public Member Functions inherited from TrafficAction
 TrafficAction ()
 
 TrafficAction (Action action, TrafficActionType type)
 
virtual ~TrafficAction ()
 
bool IsDrop () const
 
Action action () const
 
TrafficActionType action_type () const
 
virtual void SetActionSandeshData (std::vector< ActionStr > &actions)
 
bool operator== (const TrafficAction &rhs) const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (AlertAction)
 

Additional Inherited Members

- Public Types inherited from TrafficAction
enum  TrafficActionType {
  SIMPLE_ACTION = 1, MIRROR_ACTION = 2, VRF_TRANSLATE_ACTION = 3, LOG_ACTION = 4,
  ALERT_ACTION = 5, QOS_ACTION = 6, HBS_ACTION = 7
}
 
enum  Action {
  ALERT = 1, DENY = 3, LOG = 4, PASS = 5,
  MIRROR = 7, VRF_TRANSLATE = 8, APPLY_QOS = 9, TRAP = 28,
  HBS = 10, IMPLICIT_DENY = 29, RESERVED = 30, UNKNOWN = 31
}
 
- Static Public Member Functions inherited from TrafficAction
static std::string ActionToString (enum Action at)
 
- Static Public Attributes inherited from TrafficAction
static const std::string kActionLogStr = "log"
 
static const std::string kActionAlertStr = "alert"
 
static const std::string kActionHbsStr = "hbs"
 
static const uint32_t DROP_FLAGS = ((1 << DENY))
 
static const uint32_t PASS_FLAGS = ((1 << PASS))
 
static const uint32_t IMPLICIT_DENY_FLAGS = ((1 << IMPLICIT_DENY))
 

Detailed Description

Definition at line 171 of file traffic_action.h.

Constructor & Destructor Documentation

AlertAction::AlertAction ( )
inline

Definition at line 173 of file traffic_action.h.

AlertAction::~AlertAction ( )
inline

Definition at line 174 of file traffic_action.h.

Member Function Documentation

virtual bool AlertAction::Compare ( const TrafficAction rhs) const
inlinevirtual

Implements TrafficAction.

Definition at line 175 of file traffic_action.h.

Here is the call graph for this function:

AlertAction::DISALLOW_COPY_AND_ASSIGN ( AlertAction  )
private

The documentation for this class was generated from the following file: