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

#include <vrf_stats_io_context.h>

Inheritance diagram for VrfStatsIoContext:
Collaboration diagram for VrfStatsIoContext:

Public Member Functions

 VrfStatsIoContext (int msg_len, char *msg, uint32_t seqno, AgentStatsSandeshContext *ctx, IoContext::Type type)
 
virtual ~VrfStatsIoContext ()
 
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

 DISALLOW_COPY_AND_ASSIGN (VrfStatsIoContext)
 

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 vrf_stats_io_context.h.

Constructor & Destructor Documentation

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

Definition at line 12 of file vrf_stats_io_context.h.

virtual VrfStatsIoContext::~VrfStatsIoContext ( )
inlinevirtual

Definition at line 16 of file vrf_stats_io_context.h.

Member Function Documentation

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

Reimplemented from IoContext.

Definition at line 24 of file vrf_stats_io_context.cc.

Here is the call graph for this function:

void VrfStatsIoContext::Handler ( )
virtual

Reimplemented from IoContext.

Definition at line 11 of file vrf_stats_io_context.cc.

Here is the call graph for this function:


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