cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Interface of internal implementation of future objects to get results of RPCs asynchronously. More...
#include <msgpack_rpc/clients/impl/i_call_future_impl.h>
Public Member Functions | |
ICallFutureImpl (const ICallFutureImpl &)=delete | |
ICallFutureImpl (ICallFutureImpl &&)=delete | |
virtual | ~ICallFutureImpl () noexcept=default |
Destructor. | |
virtual messages::CallResult | get_result ()=0 |
Get the result of RPC. | |
virtual messages::CallResult | get_result_within (std::chrono::nanoseconds timeout)=0 |
Get the result of RPC within a timeout. | |
ICallFutureImpl & | operator= (const ICallFutureImpl &)=delete |
ICallFutureImpl & | operator= (ICallFutureImpl &&)=delete |
Protected Member Functions | |
ICallFutureImpl () noexcept=default | |
Constructor. |
Interface of internal implementation of future objects to get results of RPCs asynchronously.
Definition at line 32 of file i_call_future_impl.h.
|
nodiscardpure virtual |
Get the result of RPC.
Implemented in msgpack_rpc::clients::impl::CallFutureImpl.
|
nodiscardpure virtual |
Get the result of RPC within a timeout.
[in] | timeout | Timeout. |
Implemented in msgpack_rpc::clients::impl::CallFutureImpl.