OpenSDN source code
|
#include <ksync_sock.h>
Public Member Functions | |
KSyncIoContext (KSyncSock *sock, KSyncEntry *sync_entry, int msg_len, char *msg, KSyncEntry::KSyncEvent event) | |
virtual | ~KSyncIoContext () |
virtual void | Handler () |
void | ErrorHandler (int err) |
KSyncEntry * | GetKSyncEntry () const |
KSyncEntry::KSyncEvent | event () const |
![]() | |
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 |
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 |
Private Attributes | |
KSyncEntry * | entry_ |
KSyncEntry::KSyncEvent | event_ |
AgentSandeshContext * | agent_sandesh_ctx_ |
KSyncSock * | sock_ |
Additional Inherited Members | |
![]() | |
enum | Type { IOC_UVE, IOC_KSYNC, MAX_WORK_QUEUES } |
![]() | |
boost::intrusive::list_member_hook | node_ |
![]() | |
static const char * | io_wq_names [MAX_WORK_QUEUES] |
![]() | |
AgentSandeshContext * | sandesh_context_ |
Definition at line 168 of file ksync_sock.h.
KSyncIoContext::KSyncIoContext | ( | KSyncSock * | sock, |
KSyncEntry * | sync_entry, | ||
int | msg_len, | ||
char * | msg, | ||
KSyncEntry::KSyncEvent | event | ||
) |
|
inlinevirtual |
Definition at line 172 of file ksync_sock.h.
|
virtual |
Reimplemented from IoContext.
Definition at line 881 of file ksync_sock.cc.
|
inline |
Definition at line 179 of file ksync_sock.h.
|
inline |
Definition at line 178 of file ksync_sock.h.
|
virtual |
Reimplemented from IoContext.
Definition at line 877 of file ksync_sock.cc.
|
private |
Definition at line 183 of file ksync_sock.h.
|
private |
Definition at line 181 of file ksync_sock.h.
|
private |
Definition at line 182 of file ksync_sock.h.
|
private |
Definition at line 184 of file ksync_sock.h.