OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BgpXmppChannel::SubscriptionState Struct Reference

Public Types

enum  State { NONE = 0, GR_STALE = 1 << 0, LLGR_STALE = 1 << 1 }
 

Public Member Functions

 SubscriptionState ()
 
 SubscriptionState (const RoutingInstance::RouteTargetList &targets, int index)
 
bool IsGrStale () const
 
void SetGrStale ()
 
void SetLlgrStale ()
 
bool IsLlgrStale () const
 
void ClearStale ()
 

Public Attributes

RoutingInstance::RouteTargetList targets
 
int index
 
uint32_t state
 

Detailed Description

Definition at line 232 of file bgp_xmpp_channel.h.

Member Enumeration Documentation

Enumerator
NONE 
GR_STALE 
LLGR_STALE 

Definition at line 233 of file bgp_xmpp_channel.h.

Constructor & Destructor Documentation

BgpXmppChannel::SubscriptionState::SubscriptionState ( )
inline

Definition at line 239 of file bgp_xmpp_channel.h.

BgpXmppChannel::SubscriptionState::SubscriptionState ( const RoutingInstance::RouteTargetList targets,
int  index 
)
inline

Definition at line 240 of file bgp_xmpp_channel.h.

Member Function Documentation

void BgpXmppChannel::SubscriptionState::ClearStale ( )
inline

Definition at line 250 of file bgp_xmpp_channel.h.

bool BgpXmppChannel::SubscriptionState::IsGrStale ( ) const
inline

Definition at line 244 of file bgp_xmpp_channel.h.

bool BgpXmppChannel::SubscriptionState::IsLlgrStale ( ) const
inline

Definition at line 248 of file bgp_xmpp_channel.h.

void BgpXmppChannel::SubscriptionState::SetGrStale ( )
inline

Definition at line 245 of file bgp_xmpp_channel.h.

void BgpXmppChannel::SubscriptionState::SetLlgrStale ( )
inline

Definition at line 247 of file bgp_xmpp_channel.h.

Member Data Documentation

int BgpXmppChannel::SubscriptionState::index

Definition at line 253 of file bgp_xmpp_channel.h.

uint32_t BgpXmppChannel::SubscriptionState::state

Definition at line 254 of file bgp_xmpp_channel.h.

RoutingInstance::RouteTargetList BgpXmppChannel::SubscriptionState::targets

Definition at line 252 of file bgp_xmpp_channel.h.


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