OpenSDN source code
|
#include <ifmap_xmpp.h>
Classes | |
class | IFMapSender |
Public Member Functions | |
IFMapXmppChannel (XmppChannel *, IFMapServer *, IFMapChannelManager *) | |
virtual | ~IFMapXmppChannel () |
std::string | ToString () const |
IFMapClient * | Sender () |
virtual void | ReceiveUpdate (const XmppStanza::XmppMessage *) |
XmppChannel * | channel () |
void | ClearCounters () |
uint64_t | msgs_sent () const |
std::string | VrSubscribeGetVrName (const std::string &iqnode, bool *valid_message) |
std::string | VmSubscribeGetVmUuid (const std::string &iqnode, bool *valid_message) |
bool | MustProcessChannelNotReady () |
void | ProcessVrSubscribe (const std::string &identifier) |
void | EnqueueVrSubscribe (const std::string &identifier) |
void | ProcessVmSubscribe (const std::string &vm_uuid) |
void | ProcessVmUnsubscribe (const std::string &vm_uuid) |
void | EnqueueVmSubUnsub (bool subscribe, const std::string &vm_uuid) |
bool | get_client_added () |
const std::string & | channel_name () |
const std::string & | FQName () const |
Static Public Attributes | |
static const std::string | NoFqnSet = "NoFqnSet" |
Private Member Functions | |
void | WriteReadyCb (const boost::system::error_code &ec) |
Private Attributes | |
xmps::PeerId | peer_id_ |
XmppChannel * | channel_ |
IFMapServer * | ifmap_server_ |
IFMapChannelManager * | ifmap_channel_manager_ |
IFMapSender * | ifmap_client_ |
bool | client_added_ |
std::string | channel_name_ |
Friends | |
class | XmppIfmapTest |
Definition at line 39 of file ifmap_xmpp.h.
IFMapXmppChannel::IFMapXmppChannel | ( | XmppChannel * | channel, |
IFMapServer * | server, | ||
IFMapChannelManager * | ifmap_channel_manager | ||
) |
|
virtual |
|
inline |
Definition at line 50 of file ifmap_xmpp.h.
|
inline |
Definition at line 67 of file ifmap_xmpp.h.
void IFMapXmppChannel::ClearCounters | ( | ) |
void IFMapXmppChannel::EnqueueVmSubUnsub | ( | bool | subscribe, |
const std::string & | vm_uuid | ||
) |
void IFMapXmppChannel::EnqueueVrSubscribe | ( | const std::string & | identifier | ) |
const std::string & IFMapXmppChannel::FQName | ( | ) | const |
|
inline |
Definition at line 66 of file ifmap_xmpp.h.
uint64_t IFMapXmppChannel::msgs_sent | ( | ) | const |
bool IFMapXmppChannel::MustProcessChannelNotReady | ( | ) |
Definition at line 180 of file ifmap_xmpp.cc.
void IFMapXmppChannel::ProcessVmSubscribe | ( | const std::string & | vm_uuid | ) |
void IFMapXmppChannel::ProcessVmUnsubscribe | ( | const std::string & | vm_uuid | ) |
void IFMapXmppChannel::ProcessVrSubscribe | ( | const std::string & | identifier | ) |
|
virtual |
IFMapClient * IFMapXmppChannel::Sender | ( | ) |
Definition at line 327 of file ifmap_xmpp.cc.
|
inline |
std::string IFMapXmppChannel::VmSubscribeGetVmUuid | ( | const std::string & | iqnode, |
bool * | valid_message | ||
) |
std::string IFMapXmppChannel::VrSubscribeGetVrName | ( | const std::string & | iqnode, |
bool * | valid_message | ||
) |
Definition at line 148 of file ifmap_xmpp.cc.
|
private |
|
friend |
Definition at line 71 of file ifmap_xmpp.h.
|
private |
Definition at line 75 of file ifmap_xmpp.h.
|
private |
Definition at line 80 of file ifmap_xmpp.h.
|
private |
Definition at line 79 of file ifmap_xmpp.h.
|
private |
Definition at line 77 of file ifmap_xmpp.h.
|
private |
Definition at line 78 of file ifmap_xmpp.h.
|
private |
Definition at line 76 of file ifmap_xmpp.h.
|
static |
Definition at line 41 of file ifmap_xmpp.h.
|
private |
Definition at line 74 of file ifmap_xmpp.h.