OpenSDN source code
|
#include <kstate.h>
Public Member Functions | |
KState (const std::string &s, Sandesh *obj) | |
void | EncodeAndSend (Sandesh &encoder) |
virtual void | SendResponse ()=0 |
virtual void | SendNextRequest ()=0 |
virtual void | Handler ()=0 |
virtual void | Release () |
const std::string | response_context () const |
Sandesh * | response_object () const |
const boost::any & | more_context () const |
void | set_vr_response_code (int value) |
bool | MoreData () const |
const std::string | MacToString (const std::vector< signed char > &mac) 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 int | VrResponseMsgHandler (vr_response *r) |
virtual void | FlowMsgHandler (vr_flow_req *req) |
virtual void | VrfAssignMsgHandler (vr_vrf_assign_req *req) |
virtual void | VrfMsgHandler (vr_vrf_req *req) |
virtual void | VrfStatsMsgHandler (vr_vrf_stats_req *req) |
virtual void | DropStatsMsgHandler (vr_drop_stats_req *req) |
virtual void | VxLanMsgHandler (vr_vxlan_req *req) |
virtual void | VrouterOpsMsgHandler (vrouter_ops *req) |
virtual void | ForwardingClassMsgHandler (vr_fc_map_req *req) |
virtual void | QosConfigMsgHandler (vr_qos_map_req *req) |
![]() | |
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 KSyncIoContext * | ksync_io_ctx () const |
![]() | |
virtual | ~SandeshContext () |
Static Public Attributes | |
static const int | kMaxEntriesPerResponse = 100 |
Protected Attributes | |
std::string | response_context_ |
Sandesh * | response_object_ |
int | vr_response_code_ |
boost::any | more_context_ |
Private Member Functions | |
void | UpdateContext (const boost::any &) |
const std::string | PrefixToString (const std::vector< int8_t > &prefix) |
Additional Inherited Members | |
![]() | |
SandeshContext () | |
|
inline |
|
virtual |
Implements AgentSandeshContext.
Definition at line 527 of file kstate.cc.
void KState::EncodeAndSend | ( | Sandesh & | encoder | ) |
|
inlinevirtual |
Implements AgentSandeshContext.
|
virtual |
Implements AgentSandeshContext.
Definition at line 579 of file kstate.cc.
|
pure virtual |
Implemented in RouteKState, DropStatsKState, ForwardingClassKState, InterfaceKState, MirrorKState, MplsKState, NHKState, QosConfigKState, VrfAssignKState, VrfKState, VrfStatsKState, and VxLanKState.
|
virtual |
Implements AgentSandeshContext.
Definition at line 108 of file kstate.cc.
const string KState::MacToString | ( | const std::vector< signed char > & | mac | ) | const |
|
virtual |
Implements AgentSandeshContext.
Definition at line 385 of file kstate.cc.
|
virtual |
Implements AgentSandeshContext.
Definition at line 365 of file kstate.cc.
|
virtual |
Implements AgentSandeshContext.
Definition at line 235 of file kstate.cc.
|
private |
|
virtual |
Implements AgentSandeshContext.
Definition at line 603 of file kstate.cc.
|
inlinevirtual |
|
virtual |
Implements AgentSandeshContext.
Definition at line 309 of file kstate.cc.
|
pure virtual |
Implemented in RouteKState, DropStatsKState, ForwardingClassKState, InterfaceKState, MirrorKState, MplsKState, NHKState, QosConfigKState, VrfAssignKState, VrfKState, VrfStatsKState, and VxLanKState.
|
pure virtual |
Implemented in RouteKState, DropStatsKState, ForwardingClassKState, InterfaceKState, MirrorKState, MplsKState, NHKState, QosConfigKState, VrfAssignKState, VrfKState, VrfStatsKState, and VxLanKState.
|
private |
|
virtual |
Implements AgentSandeshContext.
Definition at line 408 of file kstate.cc.
|
virtual |
Implements AgentSandeshContext.
Definition at line 437 of file kstate.cc.
|
virtual |
Implements AgentSandeshContext.
Definition at line 464 of file kstate.cc.
|
inlinevirtual |
Implements AgentSandeshContext.
|
virtual |
Implements AgentSandeshContext.
Definition at line 35 of file kstate.cc.
|
virtual |
Implements AgentSandeshContext.
Definition at line 507 of file kstate.cc.