client-cpp
0.10.0
|
#include <EventTransport.hpp>
Public Member Functions | |
EventTransport (IEventDataProcessor &eventManager, IKaaChannelManager &channelManager, IKaaClientContext &context) | |
std::shared_ptr< EventSyncRequest > | createEventRequest (std::int32_t requestId) |
void | onEventResponse (const EventSyncResponse &response) |
void | onSyncResponseId (std::int32_t requestId) |
void | sync () |
Public Member Functions inherited from kaa::AbstractKaaTransport< TransportType::EVENT > | |
virtual | ~AbstractKaaTransport () |
AbstractKaaTransport (IKaaChannelManager &channelManager, IKaaClientContext &context) | |
Public Member Functions inherited from kaa::IKaaTransport | |
virtual | ~IKaaTransport () |
Public Member Functions inherited from kaa::IEventTransport | |
virtual | ~IEventTransport () |
Additional Inherited Members | |
Protected Member Functions inherited from kaa::AbstractKaaTransport< TransportType::EVENT > | |
void | syncByType (TransportType transportType=Type) |
void | syncAll () |
void | syncAck (TransportType transportType=Type) |
Protected Attributes inherited from kaa::AbstractKaaTransport< TransportType::EVENT > | |
const TransportType | type_ |
IKaaChannelManager & | channelManager_ |
IKaaClientContext & | context_ |
Definition at line 33 of file EventTransport.hpp.
kaa::EventTransport::EventTransport | ( | IEventDataProcessor & | eventManager, |
IKaaChannelManager & | channelManager, | ||
IKaaClientContext & | context | ||
) |
|
virtual |
Creates the Event request.
Implements kaa::IEventTransport.
|
virtual |
Updates the state of the Event manager according to the given response.
response | the response from the server. |
Implements kaa::IEventTransport.
|
virtual |
Implements kaa::IEventTransport.
|
virtual |
Sets the specific IKaaChannelManager for the current transport.
channelManager | manager to be set. |
Implements kaa::IKaaTransport.