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

#include <flow_event.h>

Inheritance diagram for FlowEventKSync:
Collaboration diagram for FlowEventKSync:

Public Member Functions

 FlowEventKSync (const KSyncEntry::KSyncEntryPtr ksync_entry, KSyncEntry::KSyncEvent ksync_event, uint32_t flow_handle, uint32_t gen_id, int ksync_error, uint64_t evict_flow_bytes, uint64_t evict_flow_packets, uint64_t evict_flow_oflow, uint32_t transaction_id)
 
 FlowEventKSync (const FlowEventKSync &rhs)
 
virtual ~FlowEventKSync ()
 
KSyncEntryksync_entry () const
 
KSyncEntry::KSyncEvent ksync_event () const
 
int ksync_error () const
 
uint64_t evict_flow_bytes () const
 
uint64_t evict_flow_packets () const
 
uint64_t evict_flow_oflow () const
 
uint32_t transaction_id () const
 
- Public Member Functions inherited from FlowEvent
 FlowEvent ()
 
 FlowEvent (Event event)
 
 FlowEvent (Event event, FlowEntry *flow)
 
 FlowEvent (Event event, uint32_t table_index)
 
 FlowEvent (Event event, FlowEntry *flow, uint32_t flow_handle, uint8_t gen_id)
 
 FlowEvent (Event event, FlowEntry *flow, uint32_t flow_handle, uint8_t gen_id, uint8_t evict_gen_id)
 
 FlowEvent (Event event, FlowEntry *flow, const DBEntry *db_entry)
 
 FlowEvent (Event event, const DBEntry *db_entry, uint32_t gen_id)
 
 FlowEvent (Event event, uint16_t table_index, const DBEntry *db_entry, uint32_t gen_id)
 
 FlowEvent (Event event, const FlowKey &key)
 
 FlowEvent (Event event, const FlowKey &key, uint32_t flow_handle, uint8_t gen_id)
 
 FlowEvent (Event event, PktInfoPtr pkt_info, FlowEntry *flow, uint32_t table_index)
 
 FlowEvent (const FlowEvent &rhs)
 
virtual ~FlowEvent ()
 
Event event () const
 
FlowEntryflow () const
 
FlowEntryPtrflow_ref ()
 
void set_flow (FlowEntry *flow)
 
const DBEntrydb_entry () const
 
void set_db_entry (const DBEntry *db_entry)
 
uint32_t gen_id () const
 
uint32_t evict_gen_id () const
 
const FlowKeyget_flow_key () const
 
PktInfoPtr pkt_info () const
 
uint32_t flow_handle () const
 
uint32_t table_index () const
 

Private Attributes

KSyncEntry::KSyncEntryPtr ksync_entry_
 
KSyncEntry::KSyncEvent ksync_event_
 
int ksync_error_
 
uint64_t evict_flow_bytes_
 
uint64_t evict_flow_packets_
 
uint64_t evict_flow_oflow_
 
uint32_t transaction_id_
 

Additional Inherited Members

- Public Types inherited from FlowEvent
enum  Event {
  INVALID, VROUTER_FLOW_MSG, FLOW_MESSAGE, DELETE_FLOW,
  AUDIT_FLOW, EVICT_FLOW, DELETE_DBENTRY, REVALUATE_DBENTRY,
  RECOMPUTE_FLOW, FREE_FLOW_REF, FREE_DBENTRY, GROW_FREE_LIST,
  KSYNC_EVENT, REENTRANT, UNRESOLVED_FLOW_ENTRY
}
 

Detailed Description

Definition at line 186 of file flow_event.h.

Constructor & Destructor Documentation

FlowEventKSync::FlowEventKSync ( const KSyncEntry::KSyncEntryPtr  ksync_entry,
KSyncEntry::KSyncEvent  ksync_event,
uint32_t  flow_handle,
uint32_t  gen_id,
int  ksync_error,
uint64_t  evict_flow_bytes,
uint64_t  evict_flow_packets,
uint64_t  evict_flow_oflow,
uint32_t  transaction_id 
)
inline

Definition at line 188 of file flow_event.h.

FlowEventKSync::FlowEventKSync ( const FlowEventKSync rhs)
inline

Definition at line 201 of file flow_event.h.

virtual FlowEventKSync::~FlowEventKSync ( )
inlinevirtual

Definition at line 210 of file flow_event.h.

Member Function Documentation

uint64_t FlowEventKSync::evict_flow_bytes ( ) const
inline

Definition at line 215 of file flow_event.h.

uint64_t FlowEventKSync::evict_flow_oflow ( ) const
inline

Definition at line 217 of file flow_event.h.

uint64_t FlowEventKSync::evict_flow_packets ( ) const
inline

Definition at line 216 of file flow_event.h.

KSyncEntry* FlowEventKSync::ksync_entry ( ) const
inline

Definition at line 212 of file flow_event.h.

int FlowEventKSync::ksync_error ( ) const
inline

Definition at line 214 of file flow_event.h.

KSyncEntry::KSyncEvent FlowEventKSync::ksync_event ( ) const
inline

Definition at line 213 of file flow_event.h.

uint32_t FlowEventKSync::transaction_id ( ) const
inline

Definition at line 218 of file flow_event.h.

Member Data Documentation

uint64_t FlowEventKSync::evict_flow_bytes_
private

Definition at line 223 of file flow_event.h.

uint64_t FlowEventKSync::evict_flow_oflow_
private

Definition at line 225 of file flow_event.h.

uint64_t FlowEventKSync::evict_flow_packets_
private

Definition at line 224 of file flow_event.h.

KSyncEntry::KSyncEntryPtr FlowEventKSync::ksync_entry_
private

Definition at line 220 of file flow_event.h.

int FlowEventKSync::ksync_error_
private

Definition at line 222 of file flow_event.h.

KSyncEntry::KSyncEvent FlowEventKSync::ksync_event_
private

Definition at line 221 of file flow_event.h.

uint32_t FlowEventKSync::transaction_id_
private

Definition at line 226 of file flow_event.h.


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