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);
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);
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);