|
cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Namespace of methods in MessagePack-RPC. More...
Classes | |
| class | FunctionalMethod |
| Class of methods implemented by function objects. More... | |
| class | FunctionalMethod< Result(Parameters...), Function, std::enable_if_t<!std::is_same_v< Result, void > > > |
| Class of methods implemented by function objects. More... | |
| class | FunctionalMethod< void(Parameters...), Function > |
| Class of methods implemented by function objects. More... | |
| class | IMethod |
| Interface of methods. More... | |
| class | IMethodProcessor |
| Interface of processor of method calls. More... | |
| class | MethodDict |
| Class of dictionaries of methods. More... | |
| class | MethodException |
| Class of exceptions in methods. More... | |
| class | MethodProcessor |
| Class of processor of method calls. More... | |
Functions | |
| template<typename Signature, typename Function> | |
| std::unique_ptr< FunctionalMethod< Signature, Function > > | create_functional_method (messages::MethodName name, Function &&function, std::shared_ptr< logging::Logger > logger) |
| Create a method implemented by a function object. | |
| std::unique_ptr< IMethodProcessor > | create_method_processor (std::shared_ptr< logging::Logger > logger) |
| Create a processor of method calls. | |
Namespace of methods in MessagePack-RPC.
|
inlinenodiscard |
Create a method implemented by a function object.
| Signature | Signature of the method. |
| Function | Type of the function implementing the method. |
| [in] | name | Name of the method. |
| [in] | function | Function implementing the method. |
| [in] | logger | Logger. |
Definition at line 265 of file functional_method.h.
|
nodiscard |
Create a processor of method calls.
| [in] | logger | Logger. |
Definition at line 29 of file method_processor.cpp.