client-cpp
0.10.0
|
#include <SimpleExecutorContext.hpp>
Public Member Functions | |
SimpleExecutorContext (std::size_t lifeCycleThreadCount=DEFAULT_THREAD_COUNT, std::size_t apiThreadCount=DEFAULT_THREAD_COUNT, std::size_t callbackThreadCount=DEFAULT_THREAD_COUNT) | |
virtual IThreadPool & | getLifeCycleExecutor () |
virtual IThreadPool & | getApiExecutor () |
virtual IThreadPool & | getCallbackExecutor () |
Public Member Functions inherited from kaa::AbstractExecutorContext | |
AbstractExecutorContext () | |
virtual void | init () |
virtual void | stop () |
void | setAwaitTerminationTimeout (std::size_t awaitTerminationTimeout) |
std::size_t | getAwaitTerminationTimeout () |
Public Member Functions inherited from kaa::IExecutorContext | |
virtual | ~IExecutorContext ()=default |
Static Public Attributes | |
static const std::size_t | DEFAULT_THREAD_COUNT = 1 |
Protected Member Functions | |
virtual void | doInit () |
virtual void | doStop () |
Protected Member Functions inherited from kaa::AbstractExecutorContext | |
IThreadPoolPtr | createExecutor (std::size_t threadCount) |
void | shutdownExecutor (IThreadPoolPtr threadPool) |
Definition at line 26 of file SimpleExecutorContext.hpp.
kaa::SimpleExecutorContext::SimpleExecutorContext | ( | std::size_t | lifeCycleThreadCount = DEFAULT_THREAD_COUNT , |
std::size_t | apiThreadCount = DEFAULT_THREAD_COUNT , |
||
std::size_t | callbackThreadCount = DEFAULT_THREAD_COUNT |
||
) |
|
protectedvirtual |
Implements kaa::AbstractExecutorContext.
|
protectedvirtual |
Implements kaa::AbstractExecutorContext.
|
inlinevirtual |
Executes user API calls to SDK client. For example, serializing of log records before submit to transport
Implements kaa::IExecutorContext.
Definition at line 33 of file SimpleExecutorContext.hpp.
|
inlinevirtual |
Executes callback methods provided by SDK client user.
Implements kaa::IExecutorContext.
Definition at line 34 of file SimpleExecutorContext.hpp.
|
inlinevirtual |
Executes lifecycle events/commands of Kaa client
Implements kaa::IExecutorContext.
Definition at line 32 of file SimpleExecutorContext.hpp.
|
static |
Definition at line 37 of file SimpleExecutorContext.hpp.