client-cpp  0.10.0
kaa::UserTransport Class Reference

#include <UserTransport.hpp>

+ Inheritance diagram for kaa::UserTransport:
+ Collaboration diagram for kaa::UserTransport:

Public Member Functions

 UserTransport (IRegistrationProcessor &manager, IKaaChannelManager &channelManager, IKaaClientContext &context)
 
std::shared_ptr< UserSyncRequest > createUserRequest ()
 
void onUserResponse (const UserSyncResponse &response)
 
void sync ()
 
void syncProfile ()
 
- Public Member Functions inherited from kaa::AbstractKaaTransport< TransportType::USER >
virtual ~AbstractKaaTransport ()
 
 AbstractKaaTransport (IKaaChannelManager &channelManager, IKaaClientContext &context)
 
- Public Member Functions inherited from kaa::IKaaTransport
virtual ~IKaaTransport ()
 
- Public Member Functions inherited from kaa::IUserTransport
virtual ~IUserTransport ()
 

Additional Inherited Members

- Protected Member Functions inherited from kaa::AbstractKaaTransport< TransportType::USER >
void syncByType (TransportType transportType=Type)
 
void syncAll ()
 
void syncAck (TransportType transportType=Type)
 
- Protected Attributes inherited from kaa::AbstractKaaTransport< TransportType::USER >
const TransportType type_
 
IKaaChannelManagerchannelManager_
 
IKaaClientContextcontext_
 

Detailed Description

Definition at line 29 of file UserTransport.hpp.

Constructor & Destructor Documentation

kaa::UserTransport::UserTransport ( IRegistrationProcessor manager,
IKaaChannelManager channelManager,
IKaaClientContext context 
)

Member Function Documentation

std::shared_ptr<UserSyncRequest> kaa::UserTransport::createUserRequest ( )
virtual

Creates new User update request.

Returns
new User update request.
See Also
UserSyncRequest

Implements kaa::IUserTransport.

void kaa::UserTransport::onUserResponse ( const UserSyncResponse &  response)
virtual

Updates the state of the Endpoint manager according to the given response.

Parameters
responsethe response from the server.
See Also
UserSyncResponse

Implements kaa::IUserTransport.

void kaa::UserTransport::sync ( )
virtual

Sets the specific IKaaChannelManager for the current transport.

Parameters
channelManagermanager to be set.

Implements kaa::IKaaTransport.

void kaa::UserTransport::syncProfile ( )

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