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

#include <controller_timer.h>

Inheritance diagram for EndOfConfigTimer:
Collaboration diagram for EndOfConfigTimer:

Public Member Functions

 EndOfConfigTimer (Agent *agent, AgentIfMapXmppChannel *channel)
 
virtual ~EndOfConfigTimer ()
 
virtual void Start (AgentXmppChannel *agent_xmpp_channel)
 
virtual uint32_t GetTimerInterval () const
 
virtual bool TimerExpirationDone ()
 
uint32_t GetFallbackInterval () const
 
uint32_t GetInactivityInterval () const
 
void Reset ()
 
void GresEnabled (bool enable)
 
- Public Member Functions inherited from ControllerTimer
 ControllerTimer (Agent *agent, const std::string &timer_name, uint32_t timer_interval)
 
virtual ~ControllerTimer ()
 
virtual uint32_t timer_interval ()
 
virtual void set_timer_interval (uint32_t timer_interval)
 
bool Cancel ()
 
void Fire ()
 
bool TimerExpiredCallback ()
 
const std::string & timer_name () const
 
bool running () const
 

Public Attributes

AgentIfMapXmppChannelconfig_channel_
 
uint64_t last_config_receive_time_
 
uint64_t inactivity_detected_time_
 
uint64_t end_of_config_processed_time_
 
bool fallback_
 
uint64_t config_inactivity_time_
 
uint64_t fallback_interval_
 
- Public Attributes inherited from ControllerTimer
Agentagent_
 
Timercontroller_timer_
 
uint64_t last_restart_time_
 
std::string xmpp_server_
 
std::string timer_name_
 
uint32_t timer_interval_
 

Detailed Description

Definition at line 82 of file controller_timer.h.

Constructor & Destructor Documentation

EndOfConfigTimer::EndOfConfigTimer ( Agent agent,
AgentIfMapXmppChannel channel 
)

Definition at line 129 of file controller_timer.cc.

Here is the call graph for this function:

virtual EndOfConfigTimer::~EndOfConfigTimer ( )
inlinevirtual

Definition at line 84 of file controller_timer.h.

Member Function Documentation

uint32_t EndOfConfigTimer::GetFallbackInterval ( ) const

Definition at line 187 of file controller_timer.cc.

uint32_t EndOfConfigTimer::GetInactivityInterval ( ) const

Definition at line 191 of file controller_timer.cc.

uint32_t EndOfConfigTimer::GetTimerInterval ( ) const
virtual

Implements ControllerTimer.

Definition at line 182 of file controller_timer.cc.

Here is the call graph for this function:

void EndOfConfigTimer::GresEnabled ( bool  enable)

Definition at line 195 of file controller_timer.cc.

Here is the call graph for this function:

void EndOfConfigTimer::Reset ( )

Definition at line 138 of file controller_timer.cc.

Here is the call graph for this function:

void EndOfConfigTimer::Start ( AgentXmppChannel agent_xmpp_channel)
virtual

Reimplemented from ControllerTimer.

Definition at line 149 of file controller_timer.cc.

Here is the call graph for this function:

bool EndOfConfigTimer::TimerExpirationDone ( )
virtual

Reimplemented from ControllerTimer.

Definition at line 156 of file controller_timer.cc.

Here is the call graph for this function:

Member Data Documentation

AgentIfMapXmppChannel* EndOfConfigTimer::config_channel_

Definition at line 95 of file controller_timer.h.

uint64_t EndOfConfigTimer::config_inactivity_time_

Definition at line 100 of file controller_timer.h.

uint64_t EndOfConfigTimer::end_of_config_processed_time_

Definition at line 98 of file controller_timer.h.

bool EndOfConfigTimer::fallback_

Definition at line 99 of file controller_timer.h.

uint64_t EndOfConfigTimer::fallback_interval_

Definition at line 101 of file controller_timer.h.

uint64_t EndOfConfigTimer::inactivity_detected_time_

Definition at line 97 of file controller_timer.h.

uint64_t EndOfConfigTimer::last_config_receive_time_

Definition at line 96 of file controller_timer.h.


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