OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ServiceStartupInformation.h
Go to the documentation of this file.
1#pragma once
2
3// Project header
6
7// C++ header
8#include <string>
9
11public:
13 ServiceStartupInformation(const std::string& _serviceName, const std::string& _serviceType, const std::string& _sessionServiceURL, const std::string& _sessionID);
14 ServiceStartupInformation(const ServiceInformation& _service, const SessionInformation& _session);
17
19 bool operator == (const ServiceStartupInformation& _other);
20 bool operator != (const ServiceStartupInformation& _other);
21
22 void setServiceInformation(const ServiceInformation& _info) { m_serviceInfo = _info; }
23 const ServiceInformation& serviceInformation(void) const { return m_serviceInfo; }
24
25 void setSessionInformation(const SessionInformation& _info) { m_sessionInfo = _info; }
26 const SessionInformation& sessionInformation(void) const { return m_sessionInfo; }
27
28private:
29 ServiceInformation m_serviceInfo;
30 SessionInformation m_sessionInfo;
31};
const char const char const char * _sessionID
Definition dllmain.cpp:62
Definition ServiceInformation.h:6
Definition ServiceStartupInformation.h:10
virtual ~ServiceStartupInformation()
Definition ServiceStartupInformation.cpp:15
bool operator!=(const ServiceStartupInformation &_other)
Definition ServiceStartupInformation.cpp:27
const ServiceInformation & serviceInformation(void) const
Definition ServiceStartupInformation.h:23
ServiceStartupInformation & operator=(const ServiceStartupInformation &_other)
Definition ServiceStartupInformation.cpp:17
ServiceStartupInformation()
Definition ServiceStartupInformation.cpp:3
const SessionInformation & sessionInformation(void) const
Definition ServiceStartupInformation.h:26
bool operator==(const ServiceStartupInformation &_other)
Definition ServiceStartupInformation.cpp:23
void setSessionInformation(const SessionInformation &_info)
Definition ServiceStartupInformation.h:25
void setServiceInformation(const ServiceInformation &_info)
Definition ServiceStartupInformation.h:22
Definition SessionInformation.h:6