diff --git a/icinga/endpointmanager.cpp b/icinga/endpointmanager.cpp index 1f0d482cc..348e36147 100644 --- a/icinga/endpointmanager.cpp +++ b/icinga/endpointmanager.cpp @@ -7,16 +7,6 @@ EndpointManager::EndpointManager(shared_ptr 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(m_SSLContext); diff --git a/icinga/endpointmanager.h b/icinga/endpointmanager.h index 567a0e001..6a04d9f38 100644 --- a/icinga/endpointmanager.h +++ b/icinga/endpointmanager.h @@ -14,7 +14,6 @@ class I2_ICINGA_API EndpointManager : public Object shared_ptr m_SSLContext; list m_Servers; list m_Endpoints; - string m_Identity; void RegisterServer(JsonRpcServer::Ptr server); void UnregisterServer(JsonRpcServer::Ptr server); @@ -30,9 +29,6 @@ public: EndpointManager(shared_ptr sslContext); - void SetIdentity(string identity); - string GetIdentity(void) const; - void AddListener(unsigned short port); void AddConnection(string host, unsigned short port);