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
*/
4
5
#ifndef vnsw_interface_stats_io_context_h
6
#define vnsw_interface_stats_io_context_h
7
8
#include <
vrouter/stats_collector/agent_stats_sandesh_context.h
>
9
10
class
InterfaceStatsIoContext
:
public
IoContext
{
11
public
:
12
InterfaceStatsIoContext
(
int
msg_len,
char
*msg, uint32_t seqno,
13
AgentStatsSandeshContext
*ctx,
14
IoContext::Type
type
);
15
virtual
~InterfaceStatsIoContext
();
16
virtual
void
Handler
();
17
virtual
void
ErrorHandler
(
int
err);
18
private
:
19
void
UpdateMarker
();
20
DISALLOW_COPY_AND_ASSIGN
(
InterfaceStatsIoContext
);
21
};
22
23
#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:10
InterfaceStatsIoContext::~InterfaceStatsIoContext
virtual ~InterfaceStatsIoContext()
Definition:
interface_stats_io_context.cc:18
InterfaceStatsIoContext::Handler
virtual void Handler()
Definition:
interface_stats_io_context.cc:54
InterfaceStatsIoContext::DISALLOW_COPY_AND_ASSIGN
DISALLOW_COPY_AND_ASSIGN(InterfaceStatsIoContext)
InterfaceStatsIoContext::UpdateMarker
void UpdateMarker()
Definition:
interface_stats_io_context.cc:21
InterfaceStatsIoContext::InterfaceStatsIoContext
InterfaceStatsIoContext(int msg_len, char *msg, uint32_t seqno, AgentStatsSandeshContext *ctx, IoContext::Type type)
Definition:
interface_stats_io_context.cc:11
InterfaceStatsIoContext::ErrorHandler
virtual void ErrorHandler(int err)
Definition:
interface_stats_io_context.cc:77
IoContext
Definition:
ksync_sock.h:92
IoContext::Type
Type
Definition:
ksync_sock.h:98
IoContext::type
Type type()
Definition:
ksync_sock.h:135
contrail
controller
src
vnsw
agent
vrouter
stats_collector
interface_stats_io_context.h
Generated by
1.9.1