OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AgentStatsSandeshContext Class Reference

#include <agent_stats_sandesh_context.h>

Inheritance diagram for AgentStatsSandeshContext:
Collaboration diagram for AgentStatsSandeshContext:

Public Member Functions

 AgentStatsSandeshContext (Agent *agent, bool check_marker)
 
virtual ~AgentStatsSandeshContext ()
 
Agentagent () const
 
int marker_id () const
 
void set_marker_id (int id)
 
void set_response_code (int value)
 
bool MoreData () const
 
virtual void IfMsgHandler (vr_interface_req *req)
 
virtual void NHMsgHandler (vr_nexthop_req *req)
 
virtual void RouteMsgHandler (vr_route_req *req)
 
virtual void MplsMsgHandler (vr_mpls_req *req)
 
virtual void MirrorMsgHandler (vr_mirror_req *req)
 
virtual void VrfAssignMsgHandler (vr_vrf_assign_req *req)
 
virtual void VrfMsgHandler (vr_vrf_req *req)
 
virtual void VxLanMsgHandler (vr_vxlan_req *req)
 
virtual void ForwardingClassMsgHandler (vr_fc_map_req *req)
 
virtual void QosConfigMsgHandler (vr_qos_map_req *req)
 
virtual void VrfStatsMsgHandler (vr_vrf_stats_req *req)
 
virtual void DropStatsMsgHandler (vr_drop_stats_req *req)
 
virtual int VrResponseMsgHandler (vr_response *r)
 
virtual void FlowMsgHandler (vr_flow_req *req)
 
virtual void VrouterOpsMsgHandler (vrouter_ops *req)
 
StatsManager::InterfaceStatsIdToStats (int id) const
 
bool check_marker () const
 
- Public Member Functions inherited from AgentSandeshContext
 AgentSandeshContext ()
 
virtual ~AgentSandeshContext ()
 
virtual void FlowResponseHandler (vr_flow_response *req)
 
virtual void FlowTableInfoHandler (vr_flow_table_data *r)
 
virtual void BridgeTableInfoHandler (vr_bridge_table_data *r)
 
virtual void VrouterHugePageHandler (vr_hugepage_config *req)
 
virtual void SetErrno (int err)
 
int GetErrno () const
 
void set_ksync_io_ctx (const KSyncIoContext *ioc)
 
const KSyncIoContextksync_io_ctx () const
 
- Public Member Functions inherited from SandeshContext
virtual ~SandeshContext ()
 

Static Public Attributes

static const int kInvalidIndex = -1
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (AgentStatsSandeshContext)
 

Private Attributes

Agentagent_
 
StatsManagerstats_
 
int marker_id_
 
int response_code_
 
bool check_marker_
 

Additional Inherited Members

- Protected Member Functions inherited from SandeshContext
 SandeshContext ()
 

Detailed Description

Definition at line 24 of file agent_stats_sandesh_context.h.

Constructor & Destructor Documentation

AgentStatsSandeshContext::AgentStatsSandeshContext ( Agent agent,
bool  check_marker 
)

Definition at line 14 of file agent_stats_sandesh_context.cc.

Here is the call graph for this function:

AgentStatsSandeshContext::~AgentStatsSandeshContext ( )
virtual

Definition at line 20 of file agent_stats_sandesh_context.cc.

Member Function Documentation

Agent* AgentStatsSandeshContext::agent ( ) const
inline

Definition at line 30 of file agent_stats_sandesh_context.h.

bool AgentStatsSandeshContext::check_marker ( ) const
inline

Definition at line 77 of file agent_stats_sandesh_context.h.

AgentStatsSandeshContext::DISALLOW_COPY_AND_ASSIGN ( AgentStatsSandeshContext  )
private
void AgentStatsSandeshContext::DropStatsMsgHandler ( vr_drop_stats_req *  req)
virtual

Implements AgentSandeshContext.

Definition at line 214 of file agent_stats_sandesh_context.cc.

Here is the call graph for this function:

virtual void AgentStatsSandeshContext::FlowMsgHandler ( vr_flow_req *  req)
inlinevirtual

Implements AgentSandeshContext.

Definition at line 72 of file agent_stats_sandesh_context.h.

virtual void AgentStatsSandeshContext::ForwardingClassMsgHandler ( vr_fc_map_req *  req)
inlinevirtual

Implements AgentSandeshContext.

Definition at line 58 of file agent_stats_sandesh_context.h.

StatsManager::InterfaceStats * AgentStatsSandeshContext::IdToStats ( int  id) const

Definition at line 48 of file agent_stats_sandesh_context.cc.

Here is the call graph for this function:

void AgentStatsSandeshContext::IfMsgHandler ( vr_interface_req *  req)
virtual

Implements AgentSandeshContext.

Definition at line 58 of file agent_stats_sandesh_context.cc.

Here is the call graph for this function:

int AgentStatsSandeshContext::marker_id ( ) const
inline

Definition at line 31 of file agent_stats_sandesh_context.h.

virtual void AgentStatsSandeshContext::MirrorMsgHandler ( vr_mirror_req *  req)
inlinevirtual

Implements AgentSandeshContext.

Definition at line 46 of file agent_stats_sandesh_context.h.

bool AgentStatsSandeshContext::MoreData ( ) const

Definition at line 23 of file agent_stats_sandesh_context.cc.

virtual void AgentStatsSandeshContext::MplsMsgHandler ( vr_mpls_req *  req)
inlinevirtual

Implements AgentSandeshContext.

Definition at line 43 of file agent_stats_sandesh_context.h.

virtual void AgentStatsSandeshContext::NHMsgHandler ( vr_nexthop_req *  req)
inlinevirtual

Implements AgentSandeshContext.

Definition at line 37 of file agent_stats_sandesh_context.h.

virtual void AgentStatsSandeshContext::QosConfigMsgHandler ( vr_qos_map_req *  req)
inlinevirtual

Implements AgentSandeshContext.

Definition at line 61 of file agent_stats_sandesh_context.h.

virtual void AgentStatsSandeshContext::RouteMsgHandler ( vr_route_req *  req)
inlinevirtual

Implements AgentSandeshContext.

Definition at line 40 of file agent_stats_sandesh_context.h.

void AgentStatsSandeshContext::set_marker_id ( int  id)
inline

Definition at line 32 of file agent_stats_sandesh_context.h.

void AgentStatsSandeshContext::set_response_code ( int  value)
inline

Definition at line 33 of file agent_stats_sandesh_context.h.

virtual void AgentStatsSandeshContext::VrfAssignMsgHandler ( vr_vrf_assign_req *  req)
inlinevirtual

Implements AgentSandeshContext.

Definition at line 49 of file agent_stats_sandesh_context.h.

virtual void AgentStatsSandeshContext::VrfMsgHandler ( vr_vrf_req *  req)
inlinevirtual

Implements AgentSandeshContext.

Definition at line 52 of file agent_stats_sandesh_context.h.

void AgentStatsSandeshContext::VrfStatsMsgHandler ( vr_vrf_stats_req *  req)
virtual

Implements AgentSandeshContext.

Definition at line 89 of file agent_stats_sandesh_context.cc.

Here is the call graph for this function:

virtual void AgentStatsSandeshContext::VrouterOpsMsgHandler ( vrouter_ops *  req)
inlinevirtual

Implements AgentSandeshContext.

Definition at line 75 of file agent_stats_sandesh_context.h.

int AgentStatsSandeshContext::VrResponseMsgHandler ( vr_response *  r)
virtual

Implements AgentSandeshContext.

Definition at line 27 of file agent_stats_sandesh_context.cc.

Here is the call graph for this function:

virtual void AgentStatsSandeshContext::VxLanMsgHandler ( vr_vxlan_req *  req)
inlinevirtual

Implements AgentSandeshContext.

Definition at line 55 of file agent_stats_sandesh_context.h.

Member Data Documentation

Agent* AgentStatsSandeshContext::agent_
private

Definition at line 79 of file agent_stats_sandesh_context.h.

bool AgentStatsSandeshContext::check_marker_
private

Definition at line 83 of file agent_stats_sandesh_context.h.

const int AgentStatsSandeshContext::kInvalidIndex = -1
static

Definition at line 26 of file agent_stats_sandesh_context.h.

int AgentStatsSandeshContext::marker_id_
private

Definition at line 81 of file agent_stats_sandesh_context.h.

int AgentStatsSandeshContext::response_code_
private

Definition at line 82 of file agent_stats_sandesh_context.h.

StatsManager* AgentStatsSandeshContext::stats_
private

Definition at line 80 of file agent_stats_sandesh_context.h.


The documentation for this class was generated from the following files: