Function email::wait_for_response_with_info(const SequenceNumber, ServiceClient *, const std::chrono::milliseconds)
Defined in File wait.hpp
Function Documentation
-
std::pair<std::string, ServiceInfo> email::wait_for_response_with_info(const SequenceNumber sequence_number, ServiceClient *client, const std::chrono::milliseconds timeout = std::chrono::milliseconds(-1))
Get a service reponse with info, waiting until it is available.
For the meaning of the timeout parameter, see
WaitSet::wait
.- Parameters:
sequence_number – the request sequence number
client – the service client
timeout – the timeout
- Returns:
the response with info