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

#include <flow_export_info.h>

Inheritance diagram for FlowExportInfo:
Collaboration diagram for FlowExportInfo:

Public Member Functions

 FlowExportInfo ()
 
 FlowExportInfo (const FlowEntryPtr &fe, uint64_t setup_time)
 
 FlowExportInfo (const FlowEntryPtr &fe)
 
 ~FlowExportInfo ()
 
FlowEntryflow () const
 
FlowEntryreverse_flow () const
 
uint64_t teardown_time () const
 
void set_teardown_time (uint64_t time)
 
uint64_t last_modified_time () const
 
void set_last_modified_time (uint64_t time)
 
uint64_t bytes () const
 
void set_bytes (uint64_t value)
 
uint64_t packets () const
 
void set_packets (uint64_t value)
 
void set_delete_enqueue_time (uint64_t value)
 
uint64_t delete_enqueue_time () const
 
void set_evict_enqueue_time (uint64_t value)
 
uint64_t evict_enqueue_time () const
 
uint8_t gen_id () const
 
void set_gen_id (uint8_t value)
 
uint32_t flow_handle () const
 
void set_flow_handle (uint32_t value)
 
const boost::uuids::uuid & uuid () const
 
void CopyFlowInfo (FlowEntry *fe)
 
void ResetStats ()
 

Private Attributes

FlowEntryPtr flow_
 
uint64_t teardown_time_
 
uint64_t last_modified_time_
 
uint64_t bytes_
 
uint64_t packets_
 
uint64_t delete_enqueue_time_
 
uint64_t evict_enqueue_time_
 
uint8_t gen_id_
 
uint32_t flow_handle_
 
boost::uuids::uuid uuid_
 

Detailed Description

Definition at line 10 of file flow_export_info.h.

Constructor & Destructor Documentation

FlowExportInfo::FlowExportInfo ( )

Definition at line 4 of file flow_export_info.cc.

FlowExportInfo::FlowExportInfo ( const FlowEntryPtr fe,
uint64_t  setup_time 
)

Definition at line 20 of file flow_export_info.cc.

FlowExportInfo::FlowExportInfo ( const FlowEntryPtr fe)

Definition at line 12 of file flow_export_info.cc.

FlowExportInfo::~FlowExportInfo ( )
inline

Definition at line 15 of file flow_export_info.h.

Member Function Documentation

uint64_t FlowExportInfo::bytes ( ) const
inline

Definition at line 24 of file flow_export_info.h.

void FlowExportInfo::CopyFlowInfo ( FlowEntry fe)

Definition at line 37 of file flow_export_info.cc.

Here is the call graph for this function:

uint64_t FlowExportInfo::delete_enqueue_time ( ) const
inline

Definition at line 30 of file flow_export_info.h.

uint64_t FlowExportInfo::evict_enqueue_time ( ) const
inline

Definition at line 32 of file flow_export_info.h.

FlowEntry* FlowExportInfo::flow ( ) const
inline

Definition at line 17 of file flow_export_info.h.

uint32_t FlowExportInfo::flow_handle ( ) const
inline

Definition at line 36 of file flow_export_info.h.

uint8_t FlowExportInfo::gen_id ( ) const
inline

Definition at line 34 of file flow_export_info.h.

uint64_t FlowExportInfo::last_modified_time ( ) const
inline

Definition at line 21 of file flow_export_info.h.

uint64_t FlowExportInfo::packets ( ) const
inline

Definition at line 26 of file flow_export_info.h.

void FlowExportInfo::ResetStats ( )

Definition at line 43 of file flow_export_info.cc.

FlowEntry * FlowExportInfo::reverse_flow ( ) const

Definition at line 29 of file flow_export_info.cc.

void FlowExportInfo::set_bytes ( uint64_t  value)
inline

Definition at line 25 of file flow_export_info.h.

void FlowExportInfo::set_delete_enqueue_time ( uint64_t  value)
inline

Definition at line 29 of file flow_export_info.h.

void FlowExportInfo::set_evict_enqueue_time ( uint64_t  value)
inline

Definition at line 31 of file flow_export_info.h.

void FlowExportInfo::set_flow_handle ( uint32_t  value)
inline

Definition at line 37 of file flow_export_info.h.

void FlowExportInfo::set_gen_id ( uint8_t  value)
inline

Definition at line 35 of file flow_export_info.h.

void FlowExportInfo::set_last_modified_time ( uint64_t  time)
inline

Definition at line 22 of file flow_export_info.h.

void FlowExportInfo::set_packets ( uint64_t  value)
inline

Definition at line 27 of file flow_export_info.h.

void FlowExportInfo::set_teardown_time ( uint64_t  time)
inline

Definition at line 20 of file flow_export_info.h.

uint64_t FlowExportInfo::teardown_time ( ) const
inline

Definition at line 19 of file flow_export_info.h.

const boost::uuids::uuid& FlowExportInfo::uuid ( ) const
inline

Definition at line 38 of file flow_export_info.h.

Member Data Documentation

uint64_t FlowExportInfo::bytes_
private

Definition at line 46 of file flow_export_info.h.

uint64_t FlowExportInfo::delete_enqueue_time_
private

Definition at line 48 of file flow_export_info.h.

uint64_t FlowExportInfo::evict_enqueue_time_
private

Definition at line 49 of file flow_export_info.h.

FlowEntryPtr FlowExportInfo::flow_
private

Definition at line 43 of file flow_export_info.h.

uint32_t FlowExportInfo::flow_handle_
private

Definition at line 51 of file flow_export_info.h.

uint8_t FlowExportInfo::gen_id_
private

Definition at line 50 of file flow_export_info.h.

uint64_t FlowExportInfo::last_modified_time_
private

Definition at line 45 of file flow_export_info.h.

uint64_t FlowExportInfo::packets_
private

Definition at line 47 of file flow_export_info.h.

uint64_t FlowExportInfo::teardown_time_
private

Definition at line 44 of file flow_export_info.h.

boost::uuids::uuid FlowExportInfo::uuid_
private

Definition at line 52 of file flow_export_info.h.


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