cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Interface of internal implementation of clients. More...
#include <msgpack_rpc/clients/impl/i_client_impl.h>
Public Member Functions | |
IClientImpl (const IClientImpl &)=delete | |
IClientImpl (IClientImpl &&)=delete | |
virtual | ~IClientImpl () noexcept=default |
Destructor. | |
virtual std::shared_ptr< ICallFutureImpl > | async_call (messages::MethodNameView method_name, const IParametersSerializer ¶meters)=0 |
Asynchronously call a method. | |
virtual std::shared_ptr< executors::IExecutor > | executor ()=0 |
Get the executor. | |
virtual void | notify (messages::MethodNameView method_name, const IParametersSerializer ¶meters)=0 |
Notify to a method. | |
IClientImpl & | operator= (const IClientImpl &)=delete |
IClientImpl & | operator= (IClientImpl &&)=delete |
virtual void | stop ()=0 |
Stop processing of this client. |
Protected Member Functions | |
IClientImpl () noexcept=default | |
Constructor. |
Interface of internal implementation of clients.
Definition at line 34 of file i_client_impl.h.
|
nodiscardpure virtual |
Asynchronously call a method.
[in] | method_name | Name of the method. |
[in] | parameters | Parameters. |
Implemented in msgpack_rpc::clients::impl::ClientImpl.
|
nodiscardpure virtual |
Get the executor.
Implemented in msgpack_rpc::clients::impl::ClientImpl.
|
pure virtual |
Notify to a method.
[in] | method_name | Name of the method. |
[in] | parameters | Parameters. |
Implemented in msgpack_rpc::clients::impl::ClientImpl.
|
pure virtual |
Stop processing of this client.
Implemented in msgpack_rpc::clients::impl::ClientImpl.