39template <
typename Result>
64 const auto call_result =
impl_->get_result();
81 const auto call_result =
impl_->get_result_within(timeout);
101 std::shared_ptr<impl::ICallFutureImpl>
impl_;
129 const auto call_result =
impl_->get_result();
142 const auto call_result =
impl_->get_result_within(timeout);
160 std::shared_ptr<impl::ICallFutureImpl>
impl_;
Definition of CallResult class.
static void get_from_call_result(const messages::CallResult &call_result)
Get the result from CallResult object.
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.
std::shared_ptr< impl::ICallFutureImpl > impl_
Object of the internal implementation.
CallFuture(std::shared_ptr< impl::ICallFutureImpl > impl)
Constructor.
std::shared_ptr< impl::ICallFutureImpl > impl_
Object of the internal implementation.
Result get_result()
Get the result of RPC.
static Result get_from_call_result(const messages::CallResult &call_result)
Get the result from CallResult object.
Result get_result_within(std::chrono::nanoseconds timeout)
Get the result of RPC within a timeout.
Class of exceptions specifying errors in servers.
Class of results of methods.
std::shared_ptr< msgpack::zone > zone() const noexcept
Get the internal zone in msgpack library.
msgpack::object object() const noexcept
Get the internal object in msgpack library.
T result_as() const
Get the result.
bool is_success() const noexcept
Check whether this object has a successful result.
Definition of ICallFutureImpl class.
Namespace of internal implementations.
Definition of ServerException class.