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

#include <agent_sandesh.h>

Inheritance diagram for AgentLayer2RtSandesh:
Collaboration diagram for AgentLayer2RtSandesh:

Public Member Functions

 AgentLayer2RtSandesh (VrfEntry *vrf, std::string context, std::string name, bool stale)
 
- Public Member Functions inherited from AgentSandesh
 AgentSandesh (const std::string &context, const std::string &name)
 
 AgentSandesh (const std::string &context)
 
virtual ~AgentSandesh ()
 
virtual bool Filter (const DBEntryBase *entry)
 
virtual bool FilterToArgs (AgentSandeshArguments *args)
 
std::string context () const
 
void DoSandeshInternal (AgentSandeshPtr sandesh, int start, int count)
 
void MakeSandeshPageReq (PageReqData *req, DBTable *table, int first, int last, int end, int count, int page_size)
 

Private Member Functions

DBTableAgentGetTable ()
 
void Alloc ()
 
bool UpdateResp (DBEntryBase *entry)
 

Private Attributes

VrfEntryvrf_
 
bool stale_
 

Additional Inherited Members

- Static Public Member Functions inherited from AgentSandesh
static void DoSandesh (AgentSandeshPtr sandesh, int start, int count)
 
static void DoSandesh (AgentSandeshPtr sandesh)
 
- Static Public Attributes inherited from AgentSandesh
static const uint8_t entries_per_sandesh = 100
 
static const uint16_t kEntriesPerPage = 100
 
- Protected Attributes inherited from AgentSandesh
std::string name_
 
SandeshResponseresp_
 

Detailed Description

Definition at line 347 of file agent_sandesh.h.

Constructor & Destructor Documentation

AgentLayer2RtSandesh::AgentLayer2RtSandesh ( VrfEntry vrf,
std::string  context,
std::string  name,
bool  stale 
)
inline

Definition at line 349 of file agent_sandesh.h.

Member Function Documentation

DBTable * AgentLayer2RtSandesh::AgentGetTable ( )
privatevirtual

Implements AgentSandesh.

Definition at line 490 of file agent_sandesh.cc.

Here is the call graph for this function:

void AgentLayer2RtSandesh::Alloc ( )
privatevirtual

Implements AgentSandesh.

Definition at line 494 of file agent_sandesh.cc.

bool AgentLayer2RtSandesh::UpdateResp ( DBEntryBase entry)
privatevirtual

Reimplemented from AgentSandesh.

Definition at line 498 of file agent_sandesh.cc.

Here is the call graph for this function:

Member Data Documentation

bool AgentLayer2RtSandesh::stale_
private

Definition at line 359 of file agent_sandesh.h.

VrfEntry* AgentLayer2RtSandesh::vrf_
private

Definition at line 358 of file agent_sandesh.h.


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