mirror of https://github.com/Icinga/icinga2.git
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;
|
||||
}
|
||||
|
||||
void EndpointManager::SetIdentity(string identity)
|
||||
{
|
||||
m_Identity = identity;
|
||||
}
|
||||
|
||||
string EndpointManager::GetIdentity(void) const
|
||||
{
|
||||
return m_Identity;
|
||||
}
|
||||
|
||||
void EndpointManager::AddListener(unsigned short port)
|
||||
{
|
||||
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;
|
||||
list<JsonRpcServer::Ptr> m_Servers;
|
||||
list<Endpoint::Ptr> m_Endpoints;
|
||||
string m_Identity;
|
||||
|
||||
void RegisterServer(JsonRpcServer::Ptr server);
|
||||
void UnregisterServer(JsonRpcServer::Ptr server);
|
||||
|
@ -30,9 +29,6 @@ public:
|
|||
|
||||
EndpointManager(shared_ptr<SSL_CTX> sslContext);
|
||||
|
||||
void SetIdentity(string identity);
|
||||
string GetIdentity(void) const;
|
||||
|
||||
void AddListener(unsigned short port);
|
||||
void AddConnection(string host, unsigned short port);
|
||||
|
||||
|
|
Loading…
Reference in New Issue