OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BgpXmppChannel::PeerStats Class Reference
Inheritance diagram for BgpXmppChannel::PeerStats:
Collaboration diagram for BgpXmppChannel::PeerStats:

Public Member Functions

 PeerStats (BgpXmppChannel *peer)
 
virtual void Clear ()
 
virtual string ToString () const
 
virtual string last_state () const
 
virtual string last_state_change_at () const
 
virtual string last_error () const
 
virtual string last_event () const
 
virtual string last_flap () const
 
virtual uint64_t num_flaps () const
 
virtual void GetRxProtoStats (ProtoStats *stats) const
 
virtual void GetTxProtoStats (ProtoStats *stats) const
 
virtual void GetRxRouteUpdateStats (UpdateStats *stats) const
 
virtual void GetTxRouteUpdateStats (UpdateStats *stats) const
 
virtual void GetRxSocketStats (IPeerDebugStats::SocketStats *stats) const
 
virtual void GetTxSocketStats (IPeerDebugStats::SocketStats *stats) const
 
virtual void GetRxErrorStats (RxErrorStats *stats) const
 
virtual void GetRxRouteStats (RxRouteStats *stats) const
 
virtual void UpdateTxUnreachRoute (uint64_t count)
 
virtual void UpdateTxReachRoute (uint64_t count)
 
- Public Member Functions inherited from IPeerDebugStats
virtual ~IPeerDebugStats ()
 

Private Attributes

BgpXmppChannelparent_
 

Detailed Description

Definition at line 134 of file bgp_xmpp_channel.cc.

Constructor & Destructor Documentation

BgpXmppChannel::PeerStats::PeerStats ( BgpXmppChannel peer)
inlineexplicit

Definition at line 136 of file bgp_xmpp_channel.cc.

Member Function Documentation

virtual void BgpXmppChannel::PeerStats::Clear ( )
inlinevirtual

Implements IPeerDebugStats.

Definition at line 142 of file bgp_xmpp_channel.cc.

virtual void BgpXmppChannel::PeerStats::GetRxErrorStats ( RxErrorStats stats) const
inlinevirtual

Implements IPeerDebugStats.

Definition at line 228 of file bgp_xmpp_channel.cc.

Here is the call graph for this function:

virtual void BgpXmppChannel::PeerStats::GetRxProtoStats ( ProtoStats stats) const
inlinevirtual

Implements IPeerDebugStats.

Definition at line 179 of file bgp_xmpp_channel.cc.

virtual void BgpXmppChannel::PeerStats::GetRxRouteStats ( RxRouteStats stats) const
inlinevirtual

Implements IPeerDebugStats.

Definition at line 240 of file bgp_xmpp_channel.cc.

virtual void BgpXmppChannel::PeerStats::GetRxRouteUpdateStats ( UpdateStats stats) const
inlinevirtual

Implements IPeerDebugStats.

Definition at line 193 of file bgp_xmpp_channel.cc.

virtual void BgpXmppChannel::PeerStats::GetRxSocketStats ( IPeerDebugStats::SocketStats stats) const
inlinevirtual

Implements IPeerDebugStats.

Definition at line 207 of file bgp_xmpp_channel.cc.

Here is the call graph for this function:

virtual void BgpXmppChannel::PeerStats::GetTxProtoStats ( ProtoStats stats) const
inlinevirtual

Implements IPeerDebugStats.

Definition at line 186 of file bgp_xmpp_channel.cc.

virtual void BgpXmppChannel::PeerStats::GetTxRouteUpdateStats ( UpdateStats stats) const
inlinevirtual

Implements IPeerDebugStats.

Definition at line 200 of file bgp_xmpp_channel.cc.

virtual void BgpXmppChannel::PeerStats::GetTxSocketStats ( IPeerDebugStats::SocketStats stats) const
inlinevirtual

Implements IPeerDebugStats.

Definition at line 216 of file bgp_xmpp_channel.cc.

Here is the call graph for this function:

virtual string BgpXmppChannel::PeerStats::last_error ( ) const
inlinevirtual

Implements IPeerDebugStats.

Definition at line 160 of file bgp_xmpp_channel.cc.

virtual string BgpXmppChannel::PeerStats::last_event ( ) const
inlinevirtual

Implements IPeerDebugStats.

Definition at line 165 of file bgp_xmpp_channel.cc.

virtual string BgpXmppChannel::PeerStats::last_flap ( ) const
inlinevirtual

Implements IPeerDebugStats.

Definition at line 170 of file bgp_xmpp_channel.cc.

virtual string BgpXmppChannel::PeerStats::last_state ( ) const
inlinevirtual

Implements IPeerDebugStats.

Definition at line 151 of file bgp_xmpp_channel.cc.

virtual string BgpXmppChannel::PeerStats::last_state_change_at ( ) const
inlinevirtual

Implements IPeerDebugStats.

Definition at line 155 of file bgp_xmpp_channel.cc.

virtual uint64_t BgpXmppChannel::PeerStats::num_flaps ( ) const
inlinevirtual

Implements IPeerDebugStats.

Definition at line 175 of file bgp_xmpp_channel.cc.

virtual string BgpXmppChannel::PeerStats::ToString ( ) const
inlinevirtual

Implements IPeerDebugStats.

Definition at line 146 of file bgp_xmpp_channel.cc.

virtual void BgpXmppChannel::PeerStats::UpdateTxReachRoute ( uint64_t  count)
inlinevirtual

Implements IPeerDebugStats.

Definition at line 249 of file bgp_xmpp_channel.cc.

virtual void BgpXmppChannel::PeerStats::UpdateTxUnreachRoute ( uint64_t  count)
inlinevirtual

Implements IPeerDebugStats.

Definition at line 245 of file bgp_xmpp_channel.cc.

Member Data Documentation

BgpXmppChannel* BgpXmppChannel::PeerStats::parent_
private

Definition at line 254 of file bgp_xmpp_channel.cc.


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