OpenSDN source code
|
#include <agent_xmpp_channel.h>
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) |
DnsAgentXmppChannel * | FindChannel (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 | |
XmppServer * | server_ |
ChannelMap | channel_map_ |
tbb::mutex | mutex_ |
RecordRequestWorkQueue | work_queue_ |
Definition at line 44 of file agent_xmpp_channel.h.
typedef std::map<const XmppChannel *, DnsAgentXmppChannel *> DnsAgentXmppChannelManager::ChannelMap |
Definition at line 58 of file agent_xmpp_channel.h.
typedef WorkQueue<boost::shared_ptr<RecordRequest> > DnsAgentXmppChannelManager::RecordRequestWorkQueue |
Definition at line 56 of file agent_xmpp_channel.h.
DnsAgentXmppChannelManager::DnsAgentXmppChannelManager | ( | XmppServer * | server | ) |
|
virtual |
|
private |
void DnsAgentXmppChannelManager::EnqueueRecord | ( | boost::shared_ptr< RecordRequest > | req | ) |
DnsAgentXmppChannel* DnsAgentXmppChannelManager::FindChannel | ( | const XmppChannel * | ch | ) |
void DnsAgentXmppChannelManager::GetAgentData | ( | std::vector< AgentData > & | list | ) |
void DnsAgentXmppChannelManager::GetAgentDnsData | ( | std::vector< AgentDnsData > & | dt | ) |
void DnsAgentXmppChannelManager::HandleXmppChannelEvent | ( | XmppChannel * | channel, |
xmps::PeerState | state | ||
) |
bool DnsAgentXmppChannelManager::ProcessRecord | ( | boost::shared_ptr< RecordRequest > | req | ) |
void DnsAgentXmppChannelManager::RemoveChannel | ( | XmppChannel * | ch | ) |
Definition at line 202 of file agent_xmpp_channel.cc.
|
private |
Definition at line 74 of file agent_xmpp_channel.h.
|
private |
Definition at line 75 of file agent_xmpp_channel.h.
|
private |
Definition at line 73 of file agent_xmpp_channel.h.
|
private |
Definition at line 76 of file agent_xmpp_channel.h.