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
* Copyright Contributors to the OpenSDN project
4
*/
5
6
#ifndef vnsw_vrf_stats_io_context_h
7
#define vnsw_vrf_stats_io_context_h
8
9
#include <
vrouter/stats_collector/agent_stats_sandesh_context.h
>
10
11
class
VrfStatsIoContext
:
public
IoContext
{
12
public
:
13
VrfStatsIoContext
(
int
msg_len,
char
*msg, uint32_t seqno,
14
AgentStatsSandeshContext
*ctx,
15
IoContext::Type
type
)
16
:
IoContext
(msg, msg_len, seqno, ctx,
type
) {}
17
virtual
~VrfStatsIoContext
() {}
18
virtual
void
Handler
();
19
virtual
void
ErrorHandler
(
int
err);
20
private
:
21
DISALLOW_COPY_AND_ASSIGN
(
VrfStatsIoContext
);
22
};
23
24
#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:93
IoContext::Type
Type
Definition:
ksync_sock.h:99
IoContext::type
Type type()
Definition:
ksync_sock.h:136
VrfStatsIoContext
Definition:
vrf_stats_io_context.h:11
VrfStatsIoContext::ErrorHandler
virtual void ErrorHandler(int err)
Definition:
vrf_stats_io_context.cc:25
VrfStatsIoContext::~VrfStatsIoContext
virtual ~VrfStatsIoContext()
Definition:
vrf_stats_io_context.h:17
VrfStatsIoContext::VrfStatsIoContext
VrfStatsIoContext(int msg_len, char *msg, uint32_t seqno, AgentStatsSandeshContext *ctx, IoContext::Type type)
Definition:
vrf_stats_io_context.h:13
VrfStatsIoContext::DISALLOW_COPY_AND_ASSIGN
DISALLOW_COPY_AND_ASSIGN(VrfStatsIoContext)
VrfStatsIoContext::Handler
virtual void Handler()
Definition:
vrf_stats_io_context.cc:12
contrail
controller
src
vnsw
agent
vrouter
stats_collector
vrf_stats_io_context.h
Generated by
1.9.1