OpenSDN source code
AgentIfMapXmppChannel Class Reference

#include <controller_ifmap.h>

Collaboration diagram for AgentIfMapXmppChannel:

Public Types

typedef boost::shared_ptr< EndOfConfigDataEndOfConfigDataPtr
 

Public Member Functions

 AgentIfMapXmppChannel (Agent *agent, XmppChannel *channel, uint8_t count)
 
virtual ~AgentIfMapXmppChannel ()
 
virtual const std::string & identifier () const
 
virtual std::string ToString () const
 
virtual bool SendUpdate (const std::string &msg)
 
void ReceiveConfigMessage (std::unique_ptr< XmlBase > impl)
 
virtual void ReceiveUpdate (const XmppStanza::XmppMessage *msg)
 
uint8_t GetXmppServerIdx ()
 
ConfigCleanupTimerconfig_cleanup_timer ()
 
void StartEndOfConfigTimer ()
 
void StopEndOfConfigTimer ()
 
void EnqueueEndOfConfig ()
 
void ProcessEndOfConfig ()
 
EndOfConfigTimerend_of_config_timer ()
 
void StartConfigCleanupTimer ()
 
void StopConfigCleanupTimer ()
 

Static Public Member Functions

static uint64_t GetSeqNumber ()
 
static uint64_t NewSeqNumber ()
 

Protected Member Functions

virtual void WriteReadyCb (const boost::system::error_code &ec)
 

Private Member Functions

void ReceiveInternal (const XmppStanza::XmppMessage *msg)
 

Private Attributes

XmppChannelchannel_
 
std::string identifier_
 
uint8_t xs_idx_
 
boost::scoped_ptr< ConfigCleanupTimerconfig_cleanup_timer_
 
boost::scoped_ptr< EndOfConfigTimerend_of_config_timer_
 
Agentagent_
 

Static Private Attributes

static uint64_t seq_number_
 

Detailed Description

Definition at line 36 of file controller_ifmap.h.

Member Typedef Documentation

◆ EndOfConfigDataPtr

Definition at line 38 of file controller_ifmap.h.

Constructor & Destructor Documentation

◆ AgentIfMapXmppChannel()

AgentIfMapXmppChannel::AgentIfMapXmppChannel ( Agent agent,
XmppChannel channel,
uint8_t  count 
)
explicit

Definition at line 27 of file controller_ifmap.cc.

Here is the call graph for this function:

◆ ~AgentIfMapXmppChannel()

AgentIfMapXmppChannel::~AgentIfMapXmppChannel ( )
virtual

Definition at line 38 of file controller_ifmap.cc.

Here is the call graph for this function:

Member Function Documentation

◆ config_cleanup_timer()

ConfigCleanupTimer * AgentIfMapXmppChannel::config_cleanup_timer ( )

Definition at line 57 of file controller_ifmap.cc.

◆ end_of_config_timer()

EndOfConfigTimer * AgentIfMapXmppChannel::end_of_config_timer ( )

Definition at line 61 of file controller_ifmap.cc.

◆ EnqueueEndOfConfig()

void AgentIfMapXmppChannel::EnqueueEndOfConfig ( )

Definition at line 132 of file controller_ifmap.cc.

Here is the call graph for this function:

◆ GetSeqNumber()

static uint64_t AgentIfMapXmppChannel::GetSeqNumber ( )
inlinestatic

Definition at line 52 of file controller_ifmap.h.

◆ GetXmppServerIdx()

uint8_t AgentIfMapXmppChannel::GetXmppServerIdx ( )
inline

Definition at line 51 of file controller_ifmap.h.

◆ identifier()

virtual const std::string& AgentIfMapXmppChannel::identifier ( ) const
inlinevirtual

Definition at line 43 of file controller_ifmap.h.

◆ NewSeqNumber()

uint64_t AgentIfMapXmppChannel::NewSeqNumber ( )
static

Definition at line 45 of file controller_ifmap.cc.

Here is the call graph for this function:

◆ ProcessEndOfConfig()

void AgentIfMapXmppChannel::ProcessEndOfConfig ( )

Definition at line 139 of file controller_ifmap.cc.

Here is the call graph for this function:

◆ ReceiveConfigMessage()

void AgentIfMapXmppChannel::ReceiveConfigMessage ( std::unique_ptr< XmlBase impl)

Definition at line 87 of file controller_ifmap.cc.

Here is the call graph for this function:

◆ ReceiveInternal()

void AgentIfMapXmppChannel::ReceiveInternal ( const XmppStanza::XmppMessage msg)
private

Definition at line 101 of file controller_ifmap.cc.

Here is the call graph for this function:

◆ ReceiveUpdate()

void AgentIfMapXmppChannel::ReceiveUpdate ( const XmppStanza::XmppMessage msg)
virtual

Definition at line 71 of file controller_ifmap.cc.

Here is the call graph for this function:

◆ SendUpdate()

bool AgentIfMapXmppChannel::SendUpdate ( const std::string &  msg)
virtual

Definition at line 65 of file controller_ifmap.cc.

Here is the call graph for this function:

◆ StartConfigCleanupTimer()

void AgentIfMapXmppChannel::StartConfigCleanupTimer ( )

Definition at line 124 of file controller_ifmap.cc.

Here is the call graph for this function:

◆ StartEndOfConfigTimer()

void AgentIfMapXmppChannel::StartEndOfConfigTimer ( )

Definition at line 114 of file controller_ifmap.cc.

Here is the call graph for this function:

◆ StopConfigCleanupTimer()

void AgentIfMapXmppChannel::StopConfigCleanupTimer ( )

Definition at line 128 of file controller_ifmap.cc.

Here is the call graph for this function:

◆ StopEndOfConfigTimer()

void AgentIfMapXmppChannel::StopEndOfConfigTimer ( )

Definition at line 119 of file controller_ifmap.cc.

Here is the call graph for this function:

◆ ToString()

std::string AgentIfMapXmppChannel::ToString ( ) const
virtual

Definition at line 107 of file controller_ifmap.cc.

Here is the call graph for this function:

◆ WriteReadyCb()

void AgentIfMapXmppChannel::WriteReadyCb ( const boost::system::error_code &  ec)
protectedvirtual

Definition at line 111 of file controller_ifmap.cc.

Member Data Documentation

◆ agent_

Agent* AgentIfMapXmppChannel::agent_
private

Definition at line 77 of file controller_ifmap.h.

◆ channel_

XmppChannel* AgentIfMapXmppChannel::channel_
private

Definition at line 71 of file controller_ifmap.h.

◆ config_cleanup_timer_

boost::scoped_ptr<ConfigCleanupTimer> AgentIfMapXmppChannel::config_cleanup_timer_
private

Definition at line 75 of file controller_ifmap.h.

◆ end_of_config_timer_

boost::scoped_ptr<EndOfConfigTimer> AgentIfMapXmppChannel::end_of_config_timer_
private

Definition at line 76 of file controller_ifmap.h.

◆ identifier_

std::string AgentIfMapXmppChannel::identifier_
private

Definition at line 72 of file controller_ifmap.h.

◆ seq_number_

uint64_t AgentIfMapXmppChannel::seq_number_
staticprivate

Definition at line 74 of file controller_ifmap.h.

◆ xs_idx_

uint8_t AgentIfMapXmppChannel::xs_idx_
private

Definition at line 73 of file controller_ifmap.h.


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