OpenSDN source code
interface_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_interface_stats_io_context_h
7
#define vnsw_interface_stats_io_context_h
8
9
#include <
vrouter/stats_collector/agent_stats_sandesh_context.h
>
10
11
class
InterfaceStatsIoContext
:
public
IoContext
{
12
public
:
13
InterfaceStatsIoContext
(
int
msg_len,
char
*msg, uint32_t seqno,
14
AgentStatsSandeshContext
*ctx,
15
IoContext::Type
type
);
16
virtual
~InterfaceStatsIoContext
();
17
virtual
void
Handler
();
18
virtual
void
ErrorHandler
(
int
err);
19
private
:
20
void
UpdateMarker
();
21
DISALLOW_COPY_AND_ASSIGN
(
InterfaceStatsIoContext
);
22
};
23
24
#endif
//vnsw_interface_stats_io_context_h
agent_stats_sandesh_context.h
AgentStatsSandeshContext
Definition:
agent_stats_sandesh_context.h:24
InterfaceStatsIoContext
Definition:
interface_stats_io_context.h:11
InterfaceStatsIoContext::~InterfaceStatsIoContext
virtual ~InterfaceStatsIoContext()
Definition:
interface_stats_io_context.cc:19
InterfaceStatsIoContext::Handler
virtual void Handler()
Definition:
interface_stats_io_context.cc:55
InterfaceStatsIoContext::DISALLOW_COPY_AND_ASSIGN
DISALLOW_COPY_AND_ASSIGN(InterfaceStatsIoContext)
InterfaceStatsIoContext::UpdateMarker
void UpdateMarker()
Definition:
interface_stats_io_context.cc:22
InterfaceStatsIoContext::InterfaceStatsIoContext
InterfaceStatsIoContext(int msg_len, char *msg, uint32_t seqno, AgentStatsSandeshContext *ctx, IoContext::Type type)
Definition:
interface_stats_io_context.cc:12
InterfaceStatsIoContext::ErrorHandler
virtual void ErrorHandler(int err)
Definition:
interface_stats_io_context.cc:78
IoContext
Definition:
ksync_sock.h:93
IoContext::Type
Type
Definition:
ksync_sock.h:99
IoContext::type
Type type()
Definition:
ksync_sock.h:136
contrail
controller
src
vnsw
agent
vrouter
stats_collector
interface_stats_io_context.h
Generated by
1.9.1