client-cpp  0.10.0
kaa::SingleThreadExecutorContext Class Reference

#include <SingleThreadExecutorContext.hpp>

+ Inheritance diagram for kaa::SingleThreadExecutorContext:
+ Collaboration diagram for kaa::SingleThreadExecutorContext:

Public Member Functions

 SingleThreadExecutorContext ()
 
virtual IThreadPoolgetLifeCycleExecutor ()
 
virtual IThreadPoolgetApiExecutor ()
 
virtual IThreadPoolgetCallbackExecutor ()
 
- 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
 

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)
 

Detailed Description

Definition at line 24 of file SingleThreadExecutorContext.hpp.

Constructor & Destructor Documentation

kaa::SingleThreadExecutorContext::SingleThreadExecutorContext ( )
inline

Definition at line 26 of file SingleThreadExecutorContext.hpp.

Member Function Documentation

virtual void kaa::SingleThreadExecutorContext::doInit ( )
inlineprotectedvirtual

Implements kaa::AbstractExecutorContext.

Definition at line 34 of file SingleThreadExecutorContext.hpp.

virtual void kaa::SingleThreadExecutorContext::doStop ( )
inlineprotectedvirtual

Implements kaa::AbstractExecutorContext.

Definition at line 35 of file SingleThreadExecutorContext.hpp.

virtual IThreadPool& kaa::SingleThreadExecutorContext::getApiExecutor ( )
inlinevirtual

Executes user API calls to SDK client. For example, serializing of log records before submit to transport

Returns

Implements kaa::IExecutorContext.

Definition at line 30 of file SingleThreadExecutorContext.hpp.

virtual IThreadPool& kaa::SingleThreadExecutorContext::getCallbackExecutor ( )
inlinevirtual

Executes callback methods provided by SDK client user.

Returns

Implements kaa::IExecutorContext.

Definition at line 31 of file SingleThreadExecutorContext.hpp.

virtual IThreadPool& kaa::SingleThreadExecutorContext::getLifeCycleExecutor ( )
inlinevirtual

Executes lifecycle events/commands of Kaa client

Returns

Implements kaa::IExecutorContext.

Definition at line 29 of file SingleThreadExecutorContext.hpp.


The documentation for this class was generated from the following file: