std::function< void()> IceGrid::AdminPrx::getServerStateAsync | ( | std::string_view | id, |
std::function< void(::IceGrid::ServerState)> | response, | ||
std::function< void(std::exception_ptr)> | exception = nullptr, | ||
std::function< void(bool)> | sent = nullptr, | ||
const Ice::Context & | context = Ice::noExplicitContext ) const |
Gets the state of a server.
id | The server ID. |
response | The response callback. It accepts:
|
exception | The exception callback. |
sent | The sent callback. |
context | The request context. |