OpenSDN source code
kstate_io_context.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
3
* Copyright Contributors to the OpenSDN project
4
*/
5
6
#ifndef vnsw_agent_kstate_io_context_h
7
#define vnsw_agent_kstate_io_context_h
8
9
class
KStateIoContext
:
public
IoContext
{
10
public
:
11
KStateIoContext
(
int
msg_len,
char
*msg, uint32_t seqno,
12
AgentSandeshContext
*obj)
13
:
IoContext
(msg, msg_len, seqno, obj,
IoContext
::
IOC_KSYNC
) {}
14
void
Handler
();
15
void
ErrorHandler
(
int
err);
16
};
17
18
#endif
// vnsw_agent_kstate_io_context_h
AgentSandeshContext
Definition:
ksync_sock.h:55
IoContext
Definition:
ksync_sock.h:93
IoContext::IOC_KSYNC
@ IOC_KSYNC
Definition:
ksync_sock.h:101
KStateIoContext
Definition:
kstate_io_context.h:9
KStateIoContext::Handler
void Handler()
Definition:
kstate_io_context.cc:10
KStateIoContext::KStateIoContext
KStateIoContext(int msg_len, char *msg, uint32_t seqno, AgentSandeshContext *obj)
Definition:
kstate_io_context.h:11
KStateIoContext::ErrorHandler
void ErrorHandler(int err)
Definition:
kstate_io_context.cc:21
contrail
controller
src
vnsw
agent
kstate
kstate_io_context.h
Generated by
1.9.1