#include "CloudProvider.hpp"
Public Member Functions | |
void | addWorkerUrl (const Url &workerUrl) |
void | clearWorkerUrls () |
std::string | cloudProviderType () const |
void | resetServerUrl () |
boost::optional< Url > | serverUrl () const |
std::string | sessionId () const |
void | setServerUrl (const Url &serverUrl) |
UUID | uuid () const |
UUID | versionUUID () const |
std::vector< Url > | workerUrls () const |
virtual | ~CloudSession () |
template<typename T > | |
T | cast () const |
template<typename T > | |
boost::optional< T > | optionalCast () const |
Protected Types | |
typedef detail::CloudSession_Impl | ImplType |
Protected Member Functions | |
CloudSession (const std::shared_ptr< detail::CloudSession_Impl > &impl) |
CloudSession returns the information needed to identify and reconnect to compute nodes started by a previous CloudProvider.
|
protected |
|
virtual |
|
protected |
void openstudio::CloudSession::addWorkerUrl | ( | const Url & | workerUrl | ) |
|
inline |
cast to type T, can throw std::bad_cast
void openstudio::CloudSession::clearWorkerUrls | ( | ) |
std::string openstudio::CloudSession::cloudProviderType | ( | ) | const |
|
inline |
cast to optional of type T
void openstudio::CloudSession::resetServerUrl | ( | ) |
boost::optional<Url> openstudio::CloudSession::serverUrl | ( | ) | const |
std::string openstudio::CloudSession::sessionId | ( | ) | const |
void openstudio::CloudSession::setServerUrl | ( | const Url & | serverUrl | ) |
UUID openstudio::CloudSession::uuid | ( | ) | const |
Unique identifier for OSP.
UUID openstudio::CloudSession::versionUUID | ( | ) | const |
Unique identifier of version for OSP.
(To avoid unnecessary overhead when nothing has changed.)
std::vector<Url> openstudio::CloudSession::workerUrls | ( | ) | const |