|
cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Interface of processor of method calls. More...
#include <msgpack_rpc/methods/i_method_processor.h>
Public Member Functions | |
| IMethodProcessor (const IMethodProcessor &)=delete | |
| IMethodProcessor (IMethodProcessor &&)=delete | |
| virtual | ~IMethodProcessor () noexcept=default |
| Destructor. | |
| virtual void | append (std::unique_ptr< IMethod > method)=0 |
| Append a method. | |
| virtual messages::SerializedMessage | call (const messages::ParsedRequest &request)=0 |
| Call a method. | |
| virtual void | notify (const messages::ParsedNotification ¬ification)=0 |
| Notify a method. | |
| IMethodProcessor & | operator= (const IMethodProcessor &)=delete |
| IMethodProcessor & | operator= (IMethodProcessor &&)=delete |
Protected Member Functions | |
| IMethodProcessor () noexcept=default | |
| Constructor. | |
Interface of processor of method calls.
Definition at line 34 of file i_method_processor.h.
|
pure virtual |
|
nodiscardpure virtual |
Call a method.
| [in] | request | Request. |
Implemented in msgpack_rpc::methods::MethodProcessor.
|
pure virtual |
Notify a method.
| [in] | notification | Notification. |
Implemented in msgpack_rpc::methods::MethodProcessor.