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

#include <global_system_config.h>

Public Types

typedef boost::function< void()> Callback
 
typedef std::vector< CallbackCallbackList
 

Public Member Functions

void Reset ()
 
void Update (autogen::GlobalSystemConfig *cfg)
 
void Register (GracefulRestartParameters::Callback cb)
 
bool enable () const
 
bool xmpp_helper_enable () const
 
bool config_seen () const
 
uint32_t end_of_rib_time ()
 
uint32_t long_lived_restart_time ()
 
uint64_t llgr_stale_time ()
 
bool IsEnabled () const
 

Private Member Functions

void Notify ()
 

Private Attributes

bool enable_
 
uint64_t end_of_rib_time_
 
uint64_t long_lived_restart_time_
 
bool xmpp_helper_enable_
 
CallbackList callbacks_
 
bool config_seen_
 

Detailed Description

Definition at line 24 of file global_system_config.h.

Member Typedef Documentation

typedef boost::function<void()> GracefulRestartParameters::Callback

Definition at line 26 of file global_system_config.h.

Definition at line 27 of file global_system_config.h.

Member Function Documentation

bool GracefulRestartParameters::config_seen ( ) const
inline

Definition at line 33 of file global_system_config.h.

bool GracefulRestartParameters::enable ( ) const
inline

Definition at line 31 of file global_system_config.h.

uint32_t GracefulRestartParameters::end_of_rib_time ( )
inline

Definition at line 34 of file global_system_config.h.

bool GracefulRestartParameters::IsEnabled ( ) const
inline

Definition at line 38 of file global_system_config.h.

uint64_t GracefulRestartParameters::llgr_stale_time ( )
inline

Definition at line 36 of file global_system_config.h.

uint32_t GracefulRestartParameters::long_lived_restart_time ( )
inline

Definition at line 35 of file global_system_config.h.

void GracefulRestartParameters::Notify ( )
private

Definition at line 72 of file global_system_config.cc.

void GracefulRestartParameters::Register ( GracefulRestartParameters::Callback  cb)

Definition at line 79 of file global_system_config.cc.

void GracefulRestartParameters::Reset ( )

Definition at line 24 of file global_system_config.cc.

void GracefulRestartParameters::Update ( autogen::GlobalSystemConfig *  cfg)

Definition at line 37 of file global_system_config.cc.

Here is the call graph for this function:

bool GracefulRestartParameters::xmpp_helper_enable ( ) const
inline

Definition at line 32 of file global_system_config.h.

Member Data Documentation

CallbackList GracefulRestartParameters::callbacks_
private

Definition at line 49 of file global_system_config.h.

bool GracefulRestartParameters::config_seen_
private

Definition at line 50 of file global_system_config.h.

bool GracefulRestartParameters::enable_
private

Definition at line 45 of file global_system_config.h.

uint64_t GracefulRestartParameters::end_of_rib_time_
private

Definition at line 46 of file global_system_config.h.

uint64_t GracefulRestartParameters::long_lived_restart_time_
private

Definition at line 47 of file global_system_config.h.

bool GracefulRestartParameters::xmpp_helper_enable_
private

Definition at line 48 of file global_system_config.h.


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