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

#include <xmpp_init.h>

Collaboration diagram for XmppInit:

Public Member Functions

 XmppInit ()
 
 ~XmppInit ()
 
void Reset (bool keep_config=false)
 
void InitClient (XmppClient *)
 
bool InitServer (XmppServer *, int port, bool logUVE)
 
void AddXmppChannelConfig (XmppChannelConfig *)
 
XmppChannelConfigAllocChannelConfig (const std::string &peer_ip, int port, const std::string &from, const std::string &to, const std::string &node, bool isClient)
 

Static Public Attributes

static const char * kControlNodeJID
 
static const char * kAgentNodeJID
 
static const char * kDnsNodeJID
 
static const char * kPubSubNS
 
static const char * kJIDControlBgp
 
static const char * kJIDControlDns
 
static const char * kConfigPeer = "config"
 
static const char * kBgpPeer = "bgp-peer"
 
static const char * kDnsPeer = "dns-peer"
 
static const char * kEndOfRibMarker = "0/0/EndOfRib"
 
static const char * kOtherPeer = "other-peer"
 
static const char * kFqnPrependAgentNodeJID
 

Private Attributes

XmppServerg_server_
 
XmppClientg_client_
 
XmppConfigDatacfg_
 

Detailed Description

Definition at line 15 of file xmpp_init.h.

Constructor & Destructor Documentation

XmppInit::XmppInit ( )

Definition at line 40 of file xmpp_init.cc.

XmppInit::~XmppInit ( )

Definition at line 44 of file xmpp_init.cc.

Here is the call graph for this function:

Member Function Documentation

void XmppInit::AddXmppChannelConfig ( XmppChannelConfig cc)

Definition at line 99 of file xmpp_init.cc.

Here is the call graph for this function:

XmppChannelConfig * XmppInit::AllocChannelConfig ( const std::string &  peer_ip,
int  port,
const std::string &  from,
const std::string &  to,
const std::string &  node,
bool  isClient 
)

Definition at line 81 of file xmpp_init.cc.

Here is the call graph for this function:

void XmppInit::InitClient ( XmppClient client)

Definition at line 71 of file xmpp_init.cc.

Here is the call graph for this function:

bool XmppInit::InitServer ( XmppServer server,
int  port,
bool  logUVE 
)

Definition at line 76 of file xmpp_init.cc.

Here is the call graph for this function:

void XmppInit::Reset ( bool  keep_config = false)

Definition at line 63 of file xmpp_init.cc.

Member Data Documentation

XmppConfigData* XmppInit::cfg_
private

Definition at line 44 of file xmpp_init.h.

XmppClient* XmppInit::g_client_
private

Definition at line 43 of file xmpp_init.h.

XmppServer* XmppInit::g_server_
private

Definition at line 42 of file xmpp_init.h.

const char * XmppInit::kAgentNodeJID
static
Initial value:
=
"agent@contrailsystems.com"

Definition at line 18 of file xmpp_init.h.

const char * XmppInit::kBgpPeer = "bgp-peer"
static

Definition at line 24 of file xmpp_init.h.

const char * XmppInit::kConfigPeer = "config"
static

Definition at line 23 of file xmpp_init.h.

const char * XmppInit::kControlNodeJID
static
Initial value:
=
"network-control@contrailsystems.com"

Definition at line 17 of file xmpp_init.h.

const char * XmppInit::kDnsNodeJID
static
Initial value:
=
"network-dns@contrailsystems.com"

Definition at line 19 of file xmpp_init.h.

const char * XmppInit::kDnsPeer = "dns-peer"
static

Definition at line 25 of file xmpp_init.h.

const char * XmppInit::kEndOfRibMarker = "0/0/EndOfRib"
static

Definition at line 26 of file xmpp_init.h.

const char * XmppInit::kFqnPrependAgentNodeJID
static
Initial value:
=
"default-global-system-config:"

Definition at line 28 of file xmpp_init.h.

const char * XmppInit::kJIDControlBgp
static
Initial value:
=
"network-control@contrailsystems.com/bgp-peer"

Definition at line 21 of file xmpp_init.h.

const char * XmppInit::kJIDControlDns
static
Initial value:
=
"network-control@contrailsystems.com/dns-peer"

Definition at line 22 of file xmpp_init.h.

const char * XmppInit::kOtherPeer = "other-peer"
static

Definition at line 27 of file xmpp_init.h.

const char * XmppInit::kPubSubNS
static
Initial value:
=
"http://jabber.org/protocol/pubsub"

Definition at line 20 of file xmpp_init.h.


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