OpenSDN source code
vrf_stats_io_context.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
3
*/
4
5
#ifndef vnsw_vrf_stats_io_context_h
6
#define vnsw_vrf_stats_io_context_h
7
8
#include <
vrouter/stats_collector/agent_stats_sandesh_context.h
>
9
10
class
VrfStatsIoContext
:
public
IoContext
{
11
public
:
12
VrfStatsIoContext
(
int
msg_len,
char
*msg, uint32_t seqno,
13
AgentStatsSandeshContext
*ctx,
14
IoContext::Type
type
)
15
:
IoContext
(msg, msg_len, seqno, ctx,
type
) {}
16
virtual
~VrfStatsIoContext
() {}
17
virtual
void
Handler
();
18
virtual
void
ErrorHandler
(
int
err);
19
private
:
20
DISALLOW_COPY_AND_ASSIGN
(
VrfStatsIoContext
);
21
};
22
23
#endif
//vnsw_vrf_stats_io_context_h
agent_stats_sandesh_context.h
AgentStatsSandeshContext
Definition:
agent_stats_sandesh_context.h:24
IoContext
Definition:
ksync_sock.h:92
IoContext::Type
Type
Definition:
ksync_sock.h:98
IoContext::type
Type type()
Definition:
ksync_sock.h:135
VrfStatsIoContext
Definition:
vrf_stats_io_context.h:10
VrfStatsIoContext::ErrorHandler
virtual void ErrorHandler(int err)
Definition:
vrf_stats_io_context.cc:24
VrfStatsIoContext::~VrfStatsIoContext
virtual ~VrfStatsIoContext()
Definition:
vrf_stats_io_context.h:16
VrfStatsIoContext::VrfStatsIoContext
VrfStatsIoContext(int msg_len, char *msg, uint32_t seqno, AgentStatsSandeshContext *ctx, IoContext::Type type)
Definition:
vrf_stats_io_context.h:12
VrfStatsIoContext::DISALLOW_COPY_AND_ASSIGN
DISALLOW_COPY_AND_ASSIGN(VrfStatsIoContext)
VrfStatsIoContext::Handler
virtual void Handler()
Definition:
vrf_stats_io_context.cc:11
contrail
controller
src
vnsw
agent
vrouter
stats_collector
vrf_stats_io_context.h
Generated by
1.9.1