OpenSDN source code
|
#include <ksync_sock.h>
Public Types | |
enum | Type { IOC_UVE, IOC_KSYNC, MAX_WORK_QUEUES } |
Public Member Functions | |
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 |
virtual void | Handler () |
virtual void | ErrorHandler (int err) |
AgentSandeshContext * | GetSandeshContext () |
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 |
Public Attributes | |
boost::intrusive::list_member_hook | node_ |
Static Public Attributes | |
static const char * | io_wq_names [MAX_WORK_QUEUES] |
Protected Attributes | |
AgentSandeshContext * | sandesh_context_ |
Private Attributes | |
char * | msg_ |
uint32_t | msg_len_ |
uint32_t | seqno_ |
Type | type_ |
uint32_t | index_ |
char * | rx_buffer1_ |
char * | rx_buffer2_ |
Friends | |
class | KSyncSock |
Definition at line 92 of file ksync_sock.h.
enum IoContext::Type |
Enumerator | |
---|---|
IOC_UVE | |
IOC_KSYNC | |
MAX_WORK_QUEUES |
Definition at line 98 of file ksync_sock.h.
|
inline |
Definition at line 106 of file ksync_sock.h.
|
inline |
Definition at line 110 of file ksync_sock.h.
|
inline |
Definition at line 115 of file ksync_sock.h.
|
inlinevirtual |
Definition at line 120 of file ksync_sock.h.
|
inlinevirtual |
Reimplemented in KSyncIoContext, VrfStatsIoContext, DropStatsIoContext, InterfaceStatsIoContext, and KStateIoContext.
Definition at line 132 of file ksync_sock.h.
|
inline |
Definition at line 139 of file ksync_sock.h.
|
inline |
Definition at line 140 of file ksync_sock.h.
|
inline |
Definition at line 134 of file ksync_sock.h.
|
inline |
Definition at line 138 of file ksync_sock.h.
|
inlinevirtual |
Reimplemented in KSyncIoContext, VrfStatsIoContext, DropStatsIoContext, InterfaceStatsIoContext, and KStateIoContext.
Definition at line 131 of file ksync_sock.h.
|
inline |
Definition at line 145 of file ksync_sock.h.
|
inline |
Definition at line 127 of file ksync_sock.h.
|
inline |
Definition at line 142 of file ksync_sock.h.
|
inline |
Definition at line 144 of file ksync_sock.h.
|
inline |
Definition at line 141 of file ksync_sock.h.
|
inline |
Definition at line 143 of file ksync_sock.h.
|
inline |
Definition at line 137 of file ksync_sock.h.
|
inline |
Definition at line 135 of file ksync_sock.h.
|
friend |
Definition at line 164 of file ksync_sock.h.
|
private |
Definition at line 157 of file ksync_sock.h.
|
static |
Definition at line 104 of file ksync_sock.h.
|
private |
Definition at line 153 of file ksync_sock.h.
|
private |
Definition at line 154 of file ksync_sock.h.
boost::intrusive::list_member_hook IoContext::node_ |
Definition at line 147 of file ksync_sock.h.
|
private |
Definition at line 161 of file ksync_sock.h.
|
private |
Definition at line 162 of file ksync_sock.h.
|
protected |
Definition at line 150 of file ksync_sock.h.
|
private |
Definition at line 155 of file ksync_sock.h.
|
private |
Definition at line 156 of file ksync_sock.h.