From 09a7cf9a820dcfb73dd40b5c0a24536073522779 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 24 Apr 2012 19:54:06 +0200 Subject: [PATCH] Removed EndpointManager::SetIdentity and EndpointManager::GetIdentity --- icinga/endpointmanager.cpp | 10 ---------- icinga/endpointmanager.h | 4 ---- 2 files changed, 14 deletions(-) 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); -- 2.40.0