mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-21 12:44:58 +02:00
Removed EndpointManager::SetIdentity and EndpointManager::GetIdentity
This commit is contained in:
parent
6ab5f710b8
commit
09a7cf9a82
@ -7,16 +7,6 @@ EndpointManager::EndpointManager(shared_ptr<SSL_CTX> sslContext)
|
|||||||
m_SSLContext = sslContext;
|
m_SSLContext = sslContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
void EndpointManager::SetIdentity(string identity)
|
|
||||||
{
|
|
||||||
m_Identity = identity;
|
|
||||||
}
|
|
||||||
|
|
||||||
string EndpointManager::GetIdentity(void) const
|
|
||||||
{
|
|
||||||
return m_Identity;
|
|
||||||
}
|
|
||||||
|
|
||||||
void EndpointManager::AddListener(unsigned short port)
|
void EndpointManager::AddListener(unsigned short port)
|
||||||
{
|
{
|
||||||
JsonRpcServer::Ptr server = make_shared<JsonRpcServer>(m_SSLContext);
|
JsonRpcServer::Ptr server = make_shared<JsonRpcServer>(m_SSLContext);
|
||||||
|
@ -14,7 +14,6 @@ class I2_ICINGA_API EndpointManager : public Object
|
|||||||
shared_ptr<SSL_CTX> m_SSLContext;
|
shared_ptr<SSL_CTX> m_SSLContext;
|
||||||
list<JsonRpcServer::Ptr> m_Servers;
|
list<JsonRpcServer::Ptr> m_Servers;
|
||||||
list<Endpoint::Ptr> m_Endpoints;
|
list<Endpoint::Ptr> m_Endpoints;
|
||||||
string m_Identity;
|
|
||||||
|
|
||||||
void RegisterServer(JsonRpcServer::Ptr server);
|
void RegisterServer(JsonRpcServer::Ptr server);
|
||||||
void UnregisterServer(JsonRpcServer::Ptr server);
|
void UnregisterServer(JsonRpcServer::Ptr server);
|
||||||
@ -30,9 +29,6 @@ public:
|
|||||||
|
|
||||||
EndpointManager(shared_ptr<SSL_CTX> sslContext);
|
EndpointManager(shared_ptr<SSL_CTX> sslContext);
|
||||||
|
|
||||||
void SetIdentity(string identity);
|
|
||||||
string GetIdentity(void) const;
|
|
||||||
|
|
||||||
void AddListener(unsigned short port);
|
void AddListener(unsigned short port);
|
||||||
void AddConnection(string host, unsigned short port);
|
void AddConnection(string host, unsigned short port);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user