Line data Source code
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 0 : KStateIoContext(int msg_len, char *msg, uint32_t seqno, 12 : AgentSandeshContext *obj) 13 0 : : 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