OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
GlobalDirectoryService Class Reference

#include "GlobalDirectoryService.h"

Inheritance diagram for GlobalDirectoryService:
ot::ServiceBase ot::ServiceBase

Public Types

enum  ConnectionStatus {
  Connected , Disconnected , WaitingForConnection , Connected ,
  Disconnected , CheckingNewConnection
}
 
enum  ConnectionStatus {
  Connected , Disconnected , WaitingForConnection , Connected ,
  Disconnected , CheckingNewConnection
}
 

Public Member Functions

 GlobalDirectoryService (void)
 
virtual ~GlobalDirectoryService ()
 
bool isConnected (void) const
 
ConnectionStatus connectionStatus (void) const
 
void connect (const std::string &_url)
 
 GlobalDirectoryService (SessionService *_sessionService)
 
virtual ~GlobalDirectoryService ()
 
void connect (const std::string &_url)
 
bool isConnected (void) const
 
ConnectionStatus connectionStatus (void) const
 
bool requestToStartService (const ot::ServiceBase &_serviceInformation, const std::string &_sessionID)
 
bool requestToStartServices (const std::list< ot::ServiceBase > &_serviceInformation, const std::string &_sessionID)
 
bool requestToStartRelayService (const std::string &_sessionID, std::string &_websocketURL, std::string &_relayServiceURL)
 
void notifySessionClosed (const std::string &_sessionID)
 

Member Enumeration Documentation

◆ ConnectionStatus [1/2]

Enumerator
Connected 
Disconnected 
WaitingForConnection 
Connected 
Disconnected 
CheckingNewConnection 

◆ ConnectionStatus [2/2]

Enumerator
Connected 
Disconnected 
WaitingForConnection 
Connected 
Disconnected 
CheckingNewConnection 

Constructor & Destructor Documentation

◆ GlobalDirectoryService() [1/2]

GlobalDirectoryService::GlobalDirectoryService ( void )

◆ ~GlobalDirectoryService() [1/2]

GlobalDirectoryService::~GlobalDirectoryService ( )
virtual

◆ GlobalDirectoryService() [2/2]

GlobalDirectoryService::GlobalDirectoryService ( SessionService * _sessionService)

◆ ~GlobalDirectoryService() [2/2]

virtual GlobalDirectoryService::~GlobalDirectoryService ( )
virtual

Member Function Documentation

◆ connect() [1/2]

void GlobalDirectoryService::connect ( const std::string & _url)

◆ connect() [2/2]

void GlobalDirectoryService::connect ( const std::string & _url)

◆ connectionStatus() [1/2]

ConnectionStatus GlobalDirectoryService::connectionStatus ( void ) const
inline

◆ connectionStatus() [2/2]

ConnectionStatus GlobalDirectoryService::connectionStatus ( void ) const
inline

◆ isConnected() [1/2]

bool GlobalDirectoryService::isConnected ( void ) const

◆ isConnected() [2/2]

bool GlobalDirectoryService::isConnected ( void ) const

◆ notifySessionClosed()

void GlobalDirectoryService::notifySessionClosed ( const std::string & _sessionID)

◆ requestToStartRelayService()

bool GlobalDirectoryService::requestToStartRelayService ( const std::string & _sessionID,
std::string & _websocketURL,
std::string & _relayServiceURL )

◆ requestToStartService()

bool GlobalDirectoryService::requestToStartService ( const ot::ServiceBase & _serviceInformation,
const std::string & _sessionID )

◆ requestToStartServices()

bool GlobalDirectoryService::requestToStartServices ( const std::list< ot::ServiceBase > & _serviceInformation,
const std::string & _sessionID )

The documentation for this class was generated from the following files: