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

#include <agent_sandesh.h>

Inheritance diagram for AgentNhSandesh:
Collaboration diagram for AgentNhSandesh:

Public Member Functions

 AgentNhSandesh (const std::string &context, const std::string &type, const std::string &nh_index, const std::string &policy_enabled)
 
 ~AgentNhSandesh ()
 
virtual bool Filter (const DBEntryBase *entry)
 
virtual bool FilterToArgs (AgentSandeshArguments *args)
 
- Public Member Functions inherited from AgentSandesh
 AgentSandesh (const std::string &context, const std::string &name)
 
 AgentSandesh (const std::string &context)
 
virtual ~AgentSandesh ()
 
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 ()
 

Private Attributes

std::string type_
 
std::string nh_index_
 
std::string policy_enabled_
 

Friends

class NhListReq
 

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 222 of file agent_sandesh.h.

Constructor & Destructor Documentation

AgentNhSandesh::AgentNhSandesh ( const std::string &  context,
const std::string &  type,
const std::string &  nh_index,
const std::string &  policy_enabled 
)

Definition at line 279 of file agent_sandesh.cc.

AgentNhSandesh::~AgentNhSandesh ( )
inline

Definition at line 226 of file agent_sandesh.h.

Member Function Documentation

DBTable * AgentNhSandesh::AgentGetTable ( )
privatevirtual

Implements AgentSandesh.

Definition at line 271 of file agent_sandesh.cc.

Here is the call graph for this function:

void AgentNhSandesh::Alloc ( )
privatevirtual

Implements AgentSandesh.

Definition at line 275 of file agent_sandesh.cc.

bool AgentNhSandesh::Filter ( const DBEntryBase entry)
virtual

Reimplemented from AgentSandesh.

Definition at line 288 of file agent_sandesh.cc.

Here is the call graph for this function:

bool AgentNhSandesh::FilterToArgs ( AgentSandeshArguments args)
virtual

Reimplemented from AgentSandesh.

Definition at line 350 of file agent_sandesh.cc.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class NhListReq
friend

Definition at line 231 of file agent_sandesh.h.

Member Data Documentation

std::string AgentNhSandesh::nh_index_
private

Definition at line 237 of file agent_sandesh.h.

std::string AgentNhSandesh::policy_enabled_
private

Definition at line 238 of file agent_sandesh.h.

std::string AgentNhSandesh::type_
private

Definition at line 236 of file agent_sandesh.h.


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