69 template <
typename Result,
typename... Parameters>
88 template <
typename Result,
typename... Parameters>
104 template <
typename... Parameters>
119 [[nodiscard]] std::shared_ptr<executors::IExecutor>
executor() {
120 return impl_->executor();
125 std::shared_ptr<impl::IClientImpl>
impl_;
Definition of CallFuture class.
Class of future object to wait for asynchronous RPCs.
std::shared_ptr< impl::IClientImpl > impl_
Object of the internal implementation.
std::shared_ptr< executors::IExecutor > executor()
Get the executor.
CallFuture< std::decay_t< Result > > async_call(messages::MethodNameView method_name, const Parameters &... parameters)
Asynchronously call a method.
Client(std::shared_ptr< impl::IClientImpl > impl)
Constructor.
std::decay_t< Result > call(messages::MethodNameView method_name, const Parameters &... parameters)
Synchronously call a method.
void stop()
Stop processing of this client.
void notify(messages::MethodNameView method_name, const Parameters &... parameters)
Notify to a method.
Definition of IClientImpl class.
Definition of IExecutor class.
Definition of MethodNameView class.
Namespace of internal implementations.
ParametersSerializer< Parameters... > make_parameters_serializer(const Parameters &... parameters)
Create ParametersSerializer object.
Definition of ParametersSerializer class.