Class PrimaryClient
Defined in File primary_client.h
Class Documentation
-
class PrimaryClient
Public Functions
-
PrimaryClient() = delete
-
~PrimaryClient()
Adds a primary consumer to the list of consumers.
- Parameters:
primary_consumer – Primary consumer that should be added to the list
Remove a primary consumer from the list of consumers.
- Parameters:
primary_consumer – Primary consumer that should be removed from the list
-
void start(const size_t max_connection_attempts = 0, const std::chrono::milliseconds reconnection_timeout = urcl::comm::TCPSocket::DEFAULT_RECONNECTION_TIME)
-
std::deque<ErrorCode> getErrorCodes()
Retrieves previously raised error codes from PrimaryClient. After calling this, recorded errors will be deleted.
-
PrimaryClient() = delete