cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Interface of executors to process asynchronous tasks. More...
#include <msgpack_rpc/executors/i_executor.h>
Public Member Functions | |
IExecutor (const IExecutor &)=delete | |
IExecutor (IExecutor &&)=delete | |
virtual | ~IExecutor () noexcept=default |
Destructor. | |
virtual AsioContextType & | context (OperationType type) noexcept=0 |
Get the context in asio library. | |
IExecutor & | operator= (const IExecutor &)=delete |
IExecutor & | operator= (IExecutor &&)=delete |
Protected Member Functions | |
IExecutor () noexcept=default | |
Constructor. |
Interface of executors to process asynchronous tasks.
Definition at line 30 of file i_executor.h.
|
pure virtualnoexcept |
Get the context in asio library.
[in] | type | Operation type. |
Implemented in msgpack_rpc::executors::GeneralExecutor, msgpack_rpc::executors::SingleThreadExecutor, and msgpack_rpc::executors::WrappingExecutor.