|
cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Definition of FunctionalMethod class. More...
#include <exception>#include <memory>#include <tuple>#include <type_traits>#include <utility>#include <msgpack.hpp>#include "msgpack_rpc/logging/logger.h"#include "msgpack_rpc/messages/message_serializer.h"#include "msgpack_rpc/messages/method_name.h"#include "msgpack_rpc/messages/method_name_view.h"#include "msgpack_rpc/messages/parsed_notification.h"#include "msgpack_rpc/messages/parsed_request.h"#include "msgpack_rpc/messages/serialized_message.h"#include "msgpack_rpc/methods/i_method.h"#include "msgpack_rpc/methods/method_exception.h"#include "msgpack_rpc/util/format_msgpack_object.h"Go to the source code of this file.
Classes | |
| class | msgpack_rpc::methods::FunctionalMethod< Result(Parameters...), Function, std::enable_if_t<!std::is_same_v< Result, void > > > |
| Class of methods implemented by function objects. More... | |
| class | msgpack_rpc::methods::FunctionalMethod< void(Parameters...), Function > |
| Class of methods implemented by function objects. More... | |
Namespaces | |
| namespace | msgpack_rpc |
| Namespace of cpp-msgpack-rpc library. | |
| namespace | msgpack_rpc::methods |
| Namespace of methods in MessagePack-RPC. | |
Functions | |
| template<typename Signature, typename Function> | |
| std::unique_ptr< FunctionalMethod< Signature, Function > > | msgpack_rpc::methods::create_functional_method (messages::MethodName name, Function &&function, std::shared_ptr< logging::Logger > logger) |
| Create a method implemented by a function object. | |
Definition of FunctionalMethod class.
Definition in file functional_method.h.