]> granicus.if.org Git - icinga2/commitdiff
Removed EndpointManager::SetIdentity and EndpointManager::GetIdentity
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 24 Apr 2012 17:54:06 +0000 (19:54 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 24 Apr 2012 17:54:06 +0000 (19:54 +0200)
icinga/endpointmanager.cpp
icinga/endpointmanager.h

index 1f0d482cc585e3c4fb4a46464dce5cf604067b6e..348e36147cef144b2ba9293c824ccdc475044a62 100644 (file)
@@ -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);
index 567a0e0014ffb1777ac7d19db54753e5f73a8a6d..6a04d9f3887ff1bcd3018a3e80aa05e57f63ac07 100644 (file)
@@ -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);