cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
Loading...
Searching...
No Matches
msgpack_rpc::clients::impl Namespace Reference

Namespace of internal implementations. More...

Classes

class  Call
 Class of data of RPC. More...
class  CallFutureImpl
 Class of internal implementation of future objects to get results of RPCs asynchronously. More...
class  CallList
 Class of lists of RPCs. More...
class  CallPromise
 Class to set results of RPCs. More...
class  ClientBuilderImpl
 Class of implementation of builders of clients. More...
class  ClientConnector
 Class to establish connections for clients. More...
class  ClientImpl
 Class of internal implementation of clients. More...
class  ICallFutureImpl
 Interface of internal implementation of future objects to get results of RPCs asynchronously. More...
class  IClientBuilderImpl
 Interface of implementation of builders of clients. More...
class  IClientImpl
 Interface of internal implementation of clients. More...
class  IParametersSerializer
 Interface of serializer of parameters. More...
class  MessageSender
 Class to send messages in clients. More...
class  ParametersSerializer
 Class of serializer of parameters. More...
class  ReceivedMessageProcessor
 Class to process received messages. More...
class  ReconnectionTimer
 Class of timer to sleep before reconnecting. More...
class  RequestIDGenerator
 Class to generate message IDs of requests. More...
class  SentMessageQueue
 Class of queues of messages to be sent. More...

Functions

std::unique_ptr< IClientBuilderImplcreate_default_client_builder_impl (config::ClientConfig config, const std::shared_ptr< logging::Logger > &logger)
 Create an IClientBuilderImpl object with default protocols.
std::unique_ptr< IClientBuilderImplcreate_empty_client_builder_impl (std::shared_ptr< executors::IAsyncExecutor > executor, std::shared_ptr< logging::Logger > logger, config::ClientConfig config)
 Create an empty IClientBuilderImpl object.
template<typename... Parameters>
ParametersSerializer< Parameters... > make_parameters_serializer (const Parameters &... parameters)
 Create ParametersSerializer object.

Detailed Description

Namespace of internal implementations.

Function Documentation

◆ create_default_client_builder_impl()

std::unique_ptr< IClientBuilderImpl > msgpack_rpc::clients::impl::create_default_client_builder_impl ( config::ClientConfig config,
const std::shared_ptr< logging::Logger > & logger )
nodiscard

Create an IClientBuilderImpl object with default protocols.

Parameters
[in]configConfiguration.
[in]loggerLogger.
Returns
IClientBuilderImpl object.

Definition at line 37 of file client_builder_impl.cpp.

◆ create_empty_client_builder_impl()

std::unique_ptr< IClientBuilderImpl > msgpack_rpc::clients::impl::create_empty_client_builder_impl ( std::shared_ptr< executors::IAsyncExecutor > executor,
std::shared_ptr< logging::Logger > logger,
config::ClientConfig config )
nodiscard

Create an empty IClientBuilderImpl object.

Parameters
[in]executorExecutor.
[in]loggerLogger.
[in]configConfiguration.
Returns
IClientBuilderImpl object.

Definition at line 30 of file client_builder_impl.cpp.

◆ make_parameters_serializer()

template<typename... Parameters>
ParametersSerializer< Parameters... > msgpack_rpc::clients::impl::make_parameters_serializer ( const Parameters &... parameters)
nodiscard

Create ParametersSerializer object.

Template Parameters
ParametersTypes of parameters.
Parameters
[in]parametersParameters.
Returns
ParametersSerializer object.

Definition at line 176 of file parameters_serializer.h.