|
cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Interface of serializer of parameters. More...
#include <msgpack_rpc/clients/impl/parameters_serializer.h>
Public Member Functions | |
| IParametersSerializer (const IParametersSerializer &)=delete | |
| IParametersSerializer (IParametersSerializer &&) noexcept=default | |
| Move constructor. | |
| virtual messages::SerializedMessage | create_serialized_notification (messages::MethodNameView method_name) const =0 |
| Create a serialized notification data. | |
| virtual messages::SerializedMessage | create_serialized_request (messages::MethodNameView method_name, messages::MessageID request_id) const =0 |
| Create a serialized request data. | |
| IParametersSerializer & | operator= (const IParametersSerializer &)=delete |
| IParametersSerializer & | operator= (IParametersSerializer &&) noexcept=default |
| Move assignment operator. | |
Protected Member Functions | |
| IParametersSerializer () noexcept=default | |
| Constructor. | |
| ~IParametersSerializer () noexcept=default | |
| Destructor. | |
Interface of serializer of parameters.
Definition at line 36 of file parameters_serializer.h.
|
nodiscardpure virtual |
Create a serialized notification data.
| [in] | method_name | Name of the method to call with the notification. |
Implemented in msgpack_rpc::clients::impl::ParametersSerializer< Parameters >.
|
nodiscardpure virtual |
Create a serialized request data.
| [in] | method_name | Name of the method to call with the request. |
| [in] | request_id | Message ID of the request. |
Implemented in msgpack_rpc::clients::impl::ParametersSerializer< Parameters >.
|
defaultnoexcept |
Move assignment operator.