8 #include <boost/intrusive_ptr.hpp>
9 #include <boost/bind/bind.hpp>
21 #include <sandesh/sandesh_trace.h>
23 using namespace boost::placeholders;
49 return agent_xmpp_channel_mgr_;
52 agent_xmpp_channel_mgr_ = mgr;
56 static void SetHostName(
const std::string name) { host_name_ = name; };
62 static void SetHttpPort(uint32_t port) { http_port_ = port; };
64 static void SetDnsPort(uint32_t port) { dns_port_ = port; };
66 static void SetSelfIp(std::string ip) { self_ip_ = ip; }
68 static bool GetVersion(std::string &build_info_str);
75 SetTaskSchedulingPolicy();
79 static void SetTaskSchedulingPolicy();
static void SetCollector(std::string name)
static uint32_t xmpp_srv_port_
static DnsManager * GetDnsManager()
static void SetSelfIp(std::string ip)
static uint32_t dns_port_
static std::string GetSelfIp()
static std::string prog_name_
static EventManager * GetEventManager()
static std::string host_name_
static std::string self_ip_
static void SetDnsConfigManager(DnsConfigManager *cfg)
static void SetDnsManager(DnsManager *mgr)
static void SetProgramName(const char *name)
static std::string collector_
static XmppServer * xmpp_server_
static void SetDnsPort(uint32_t port)
static uint32_t http_port_
static void SetHostName(const std::string name)
static DnsConfigManager * dns_config_mgr_
static DnsAgentXmppChannelManager * agent_xmpp_channel_mgr_
static DnsManager * dns_mgr_
static const std::string & GetProgramName()
static const std::string & GetHostName()
static void SetEventManager(EventManager *evm)
static void SetHttpPort(uint32_t port)
static const uint32_t GetXmppServerPort()
static EventManager * event_mgr_
static void SetAgentXmppChannelManager(DnsAgentXmppChannelManager *mgr)
static const uint32_t GetHttpPort()
static const std::string & GetCollector()
static DnsAgentXmppChannelManager * GetAgentXmppChannelManager()
static void SetXmppServerPort(uint32_t port)
static DnsConfigManager * GetDnsConfigManager()
static void SetXmppServer(XmppServer *server)
static const uint32_t GetDnsPort()
static XmppServer * GetXmppServer()