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

#include <flow_event.h>

Inheritance diagram for UpdateFlowEventQueue:
Collaboration diagram for UpdateFlowEventQueue:

Public Member Functions

 UpdateFlowEventQueue (Agent *agent, FlowProto *proto, FlowTokenPool *pool, uint16_t latency_limit, uint32_t max_iterations)
 
virtual ~UpdateFlowEventQueue ()
 
bool HandleEvent (FlowEvent *event)
 
- Public Member Functions inherited from FlowEventQueueBase
 FlowEventQueueBase (FlowProto *proto, const std::string &name, uint32_t task_id, int task_instance, FlowTokenPool *pool, uint16_t latency_limit, uint32_t max_iterations)
 
virtual ~FlowEventQueueBase ()
 
virtual bool Handler (FlowEvent *event)
 
void Shutdown ()
 
void Enqueue (FlowEvent *event)
 
bool TokenCheck ()
 
bool TaskEntry ()
 
void TaskExit (bool done)
 
void set_disable (bool val)
 
uint32_t Length ()
 
void MayBeStartRunner ()
 
Queuequeue () const
 
uint64_t events_processed () const
 
uint64_t events_enqueued () const
 

Additional Inherited Members

- Public Types inherited from FlowEventQueueBase
typedef WorkQueue< FlowEvent * > Queue
 
- Protected Member Functions inherited from FlowEventQueueBase
bool CanEnqueue (FlowEvent *event)
 
bool CanProcess (FlowEvent *event)
 
void ProcessDone (FlowEvent *event, bool update_rev_flow)
 
- Protected Attributes inherited from FlowEventQueueBase
Queuequeue_
 
FlowProtoflow_proto_
 
FlowTokenPooltoken_pool_
 
uint64_t task_start_
 
uint32_t count_
 
uint64_t events_processed_
 
uint16_t latency_limit_
 
struct rusage rusage_
 

Detailed Description

Definition at line 345 of file flow_event.h.

Constructor & Destructor Documentation

UpdateFlowEventQueue::UpdateFlowEventQueue ( Agent agent,
FlowProto proto,
FlowTokenPool pool,
uint16_t  latency_limit,
uint32_t  max_iterations 
)

Definition at line 290 of file flow_event.cc.

UpdateFlowEventQueue::~UpdateFlowEventQueue ( )
virtual

Definition at line 299 of file flow_event.cc.

Member Function Documentation

bool UpdateFlowEventQueue::HandleEvent ( FlowEvent event)
virtual

Implements FlowEventQueueBase.

Definition at line 302 of file flow_event.cc.

Here is the call graph for this function:


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