cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Specialization of msgpack_rpc::clients::CallFuture for void type. More...
#include <msgpack_rpc/clients/call_future.h>
Public Member Functions | |
CallFuture (std::shared_ptr< impl::ICallFutureImpl > impl) | |
Constructor. | |
void | get_result () |
Get the result of RPC. | |
void | get_result_within (std::chrono::nanoseconds timeout) |
Get the result of RPC within a timeout. |
Static Private Member Functions | |
static void | get_from_call_result (const messages::CallResult &call_result) |
Get the result from CallResult object. |
Private Attributes | |
std::shared_ptr< impl::ICallFutureImpl > | impl_ |
Object of the internal implementation. |
Specialization of msgpack_rpc::clients::CallFuture for void type.
Objects of this class are created by Client::async_call function.
Definition at line 110 of file call_future.h.
|
inlineexplicit |
Constructor.
[in] | impl | Object of the internal implementation. |
Definition at line 120 of file call_future.h.
|
inlinestaticprivate |
Get the result from CallResult object.
[in] | call_result | CallResult object. |
Definition at line 152 of file call_future.h.
|
inline |
Get the result of RPC.
Definition at line 128 of file call_future.h.
|
inline |
Get the result of RPC within a timeout.
[in] | timeout | Timeout. |
Definition at line 141 of file call_future.h.
|
private |
Object of the internal implementation.
Definition at line 160 of file call_future.h.