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

#include <agent_xmpp_channel.h>

Collaboration diagram for DnsAgentXmppChannelManager:

Classes

struct  RecordRequest
 

Public Types

typedef WorkQueue
< boost::shared_ptr
< RecordRequest > > 
RecordRequestWorkQueue
 
typedef std::map< const
XmppChannel
*, DnsAgentXmppChannel * > 
ChannelMap
 

Public Member Functions

 DnsAgentXmppChannelManager (XmppServer *server)
 
virtual ~DnsAgentXmppChannelManager ()
 
void RemoveChannel (XmppChannel *ch)
 
DnsAgentXmppChannelFindChannel (const XmppChannel *ch)
 
void HandleXmppChannelEvent (XmppChannel *channel, xmps::PeerState state)
 
bool ProcessRecord (boost::shared_ptr< RecordRequest > req)
 
void EnqueueRecord (boost::shared_ptr< RecordRequest > req)
 
void GetAgentData (std::vector< AgentData > &list)
 
void GetAgentDnsData (std::vector< AgentDnsData > &dt)
 

Private Member Functions

uint8_t ChannelToDscp (const XmppChannel *xc) const
 

Private Attributes

XmppServerserver_
 
ChannelMap channel_map_
 
tbb::mutex mutex_
 
RecordRequestWorkQueue work_queue_
 

Detailed Description

Definition at line 44 of file agent_xmpp_channel.h.

Member Typedef Documentation

Definition at line 58 of file agent_xmpp_channel.h.

Definition at line 56 of file agent_xmpp_channel.h.

Constructor & Destructor Documentation

DnsAgentXmppChannelManager::DnsAgentXmppChannelManager ( XmppServer server)

Definition at line 170 of file agent_xmpp_channel.cc.

Here is the call graph for this function:

DnsAgentXmppChannelManager::~DnsAgentXmppChannelManager ( )
virtual

Definition at line 183 of file agent_xmpp_channel.cc.

Here is the call graph for this function:

Member Function Documentation

uint8_t DnsAgentXmppChannelManager::ChannelToDscp ( const XmppChannel xc) const
private

Definition at line 247 of file agent_xmpp_channel.cc.

Here is the call graph for this function:

void DnsAgentXmppChannelManager::EnqueueRecord ( boost::shared_ptr< RecordRequest req)

Definition at line 197 of file agent_xmpp_channel.cc.

Here is the call graph for this function:

DnsAgentXmppChannel* DnsAgentXmppChannelManager::FindChannel ( const XmppChannel ch)
void DnsAgentXmppChannelManager::GetAgentData ( std::vector< AgentData > &  list)

Definition at line 258 of file agent_xmpp_channel.cc.

Here is the call graph for this function:

void DnsAgentXmppChannelManager::GetAgentDnsData ( std::vector< AgentDnsData > &  dt)

Definition at line 278 of file agent_xmpp_channel.cc.

Here is the call graph for this function:

void DnsAgentXmppChannelManager::HandleXmppChannelEvent ( XmppChannel channel,
xmps::PeerState  state 
)

Definition at line 217 of file agent_xmpp_channel.cc.

Here is the call graph for this function:

bool DnsAgentXmppChannelManager::ProcessRecord ( boost::shared_ptr< RecordRequest req)

Definition at line 190 of file agent_xmpp_channel.cc.

Here is the call graph for this function:

void DnsAgentXmppChannelManager::RemoveChannel ( XmppChannel ch)

Definition at line 202 of file agent_xmpp_channel.cc.

Member Data Documentation

ChannelMap DnsAgentXmppChannelManager::channel_map_
private

Definition at line 74 of file agent_xmpp_channel.h.

tbb::mutex DnsAgentXmppChannelManager::mutex_
private

Definition at line 75 of file agent_xmpp_channel.h.

XmppServer* DnsAgentXmppChannelManager::server_
private

Definition at line 73 of file agent_xmpp_channel.h.

RecordRequestWorkQueue DnsAgentXmppChannelManager::work_queue_
private

Definition at line 76 of file agent_xmpp_channel.h.


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