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

#include <interface_stats_io_context.h>

Inheritance diagram for InterfaceStatsIoContext:
Collaboration diagram for InterfaceStatsIoContext:

Public Member Functions

 InterfaceStatsIoContext (int msg_len, char *msg, uint32_t seqno, AgentStatsSandeshContext *ctx, IoContext::Type type)
 
virtual ~InterfaceStatsIoContext ()
 
virtual void Handler ()
 
virtual void ErrorHandler (int err)
 
- Public Member Functions inherited from IoContext
 IoContext ()
 
 IoContext (char *msg, uint32_t len, uint32_t seq, AgentSandeshContext *ctx, Type type)
 
 IoContext (char *msg, uint32_t len, uint32_t seq, AgentSandeshContext *ctx, Type type, uint32_t index)
 
virtual ~IoContext ()
 
bool operator< (const IoContext &rhs) const
 
AgentSandeshContextGetSandeshContext ()
 
Type type ()
 
void SetSeqno (uint32_t seqno)
 
uint32_t GetSeqno () const
 
char * GetMsg () const
 
uint32_t GetMsgLen () const
 
char * rx_buffer1 () const
 
void reset_rx_buffer1 ()
 
char * rx_buffer2 ()
 
void reset_rx_buffer2 ()
 
uint32_t index () const
 

Private Member Functions

void UpdateMarker ()
 
 DISALLOW_COPY_AND_ASSIGN (InterfaceStatsIoContext)
 

Additional Inherited Members

- Public Types inherited from IoContext
enum  Type { IOC_UVE, IOC_KSYNC, MAX_WORK_QUEUES }
 
- Public Attributes inherited from IoContext
boost::intrusive::list_member_hook node_
 
- Static Public Attributes inherited from IoContext
static const char * io_wq_names [MAX_WORK_QUEUES]
 
- Protected Attributes inherited from IoContext
AgentSandeshContextsandesh_context_
 

Detailed Description

Definition at line 10 of file interface_stats_io_context.h.

Constructor & Destructor Documentation

InterfaceStatsIoContext::InterfaceStatsIoContext ( int  msg_len,
char *  msg,
uint32_t  seqno,
AgentStatsSandeshContext ctx,
IoContext::Type  type 
)

Definition at line 11 of file interface_stats_io_context.cc.

InterfaceStatsIoContext::~InterfaceStatsIoContext ( )
virtual

Definition at line 18 of file interface_stats_io_context.cc.

Member Function Documentation

InterfaceStatsIoContext::DISALLOW_COPY_AND_ASSIGN ( InterfaceStatsIoContext  )
private
void InterfaceStatsIoContext::ErrorHandler ( int  err)
virtual

Reimplemented from IoContext.

Definition at line 77 of file interface_stats_io_context.cc.

Here is the call graph for this function:

void InterfaceStatsIoContext::Handler ( )
virtual

Reimplemented from IoContext.

Definition at line 54 of file interface_stats_io_context.cc.

Here is the call graph for this function:

void InterfaceStatsIoContext::UpdateMarker ( )
private

Definition at line 21 of file interface_stats_io_context.cc.

Here is the call graph for this function:


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