10 #ifndef CORAL_MASTER_CLUSTER_HPP 11 #define CORAL_MASTER_CLUSTER_HPP 19 #include <coral/config.h> 129 const
std::
string& slaveProviderID,
130 const
std::
string& slaveTypeUUID,
131 std::chrono::milliseconds timeout);
135 std::unique_ptr<Private> m_private;
140 #endif // header guard An object which represents an internet port number.
Definition: net.hpp:156
coral::net::SlaveLocator InstantiateSlave(const std::string &slaveProviderID, const std::string &slaveTypeUUID, std::chrono::milliseconds timeout)
Requests that a slave be spawned by a specific slave provider.
ProviderCluster(const coral::net::ip::Address &networkInterface, coral::net::ip::Port discoveryPort)
Constructor.
Main module header for coral::net.
A common communication interface to a cluster of slave providers.
Definition: cluster.hpp:48
An object which identifies an internet host or network interface as either an IPv4 address or a textu...
Definition: net.hpp:80
A description of a slave type.
Definition: model.hpp:148
Definition: variable_io.hpp:28
~ProviderCluster() CORAL_NOEXCEPT
Destructor.
coral::model::SlaveTypeDescription description
A description of the slave type.
Definition: cluster.hpp:55
std::vector< std::string > providers
A list of IDs of slave providers that offer this slave type.
Definition: cluster.hpp:58
Information about a slave type.
Definition: cluster.hpp:52
std::vector< SlaveType > GetSlaveTypes(std::chrono::milliseconds timeout)
Returns the slave types which are offered by all slave providers discovered so far.
Main module header for coral::model.