#include <EndpointRegistrationManager.hpp>
virtual void kaa::EndpointRegistrationManager::attachEndpoint |
( |
const std::string & |
endpointAccessToken, |
|
|
IEndpointAttachStatusListener * |
listener = nullptr |
|
) |
| |
|
virtual |
Adds new endpoint attach request
- Parameters
-
endpointAccessToken | Access token of the attaching endpoint |
listener | Optional listener to notify about result of endpoint attaching. Set to null if is no need in it. |
Implements kaa::IEndpointRegistrationManager.
virtual void kaa::EndpointRegistrationManager::attachUser |
( |
const std::string & |
userExternalId, |
|
|
const std::string & |
userAccessToken, |
|
|
IEndpointAttachStatusListener * |
listener = nullptr |
|
) |
| |
|
virtual |
Creates user attach request
- Parameters
-
userExternalId | |
userAccessToken | |
listener | Optional listener to notify about result of user attaching. Set to null if there is no need in it. |
Implements kaa::IEndpointRegistrationManager.
virtual void kaa::EndpointRegistrationManager::detachEndpoint |
( |
const std::string & |
endpointKeyHash, |
|
|
IEndpointAttachStatusListener * |
listener = nullptr |
|
) |
| |
|
virtual |
Adds new endpoint detach request
- Parameters
-
endpointKeyHash | Key hash of the attached endpoint |
listener | Optional listener to notify about result of endpoint detaching. Set to null if is no need in it. |
Implements kaa::IEndpointRegistrationManager.
Adds current endpoint detach request
- Parameters
-
listener | Optional listener to notify about result of endpoint detaching. Set to null if is no need in it. |
Implements kaa::IEndpointRegistrationManager.
virtual const AttachedEndpoints& kaa::EndpointRegistrationManager::getAttachedEndpoints |
( |
| ) |
|
|
virtual |
virtual const std::string& kaa::EndpointRegistrationManager::getEndpointAccessToken |
( |
| ) |
|
|
inlinevirtual |
virtual std::map<std::string, std::string> kaa::EndpointRegistrationManager::getEndpointsToAttach |
( |
| ) |
|
|
virtual |
virtual std::map<std::string, std::string> kaa::EndpointRegistrationManager::getEndpointsToDetach |
( |
| ) |
|
|
virtual |
virtual bool kaa::EndpointRegistrationManager::isCurrentEndpointAttached |
( |
| ) |
|
|
inlinevirtual |
virtual void kaa::EndpointRegistrationManager::onCurrentEndpointAttach |
( |
const UserAttachNotification & |
response | ) |
|
|
virtual |
virtual void kaa::EndpointRegistrationManager::onCurrentEndpointDetach |
( |
const UserDetachNotification & |
response | ) |
|
|
virtual |
virtual void kaa::EndpointRegistrationManager::onEndpointsAttach |
( |
const std::vector< EndpointAttachResponse > & |
endpoints | ) |
|
|
virtual |
virtual void kaa::EndpointRegistrationManager::onEndpointsDetach |
( |
const std::vector< EndpointDetachResponse > & |
endpoints | ) |
|
|
virtual |
virtual void kaa::EndpointRegistrationManager::onUserAttach |
( |
const UserSyncResponse::userAttachResponse_t & |
response | ) |
|
|
virtual |
virtual void kaa::EndpointRegistrationManager::regenerateEndpointAccessToken |
( |
| ) |
|
|
virtual |
virtual void kaa::EndpointRegistrationManager::setTransport |
( |
UserTransport * |
transport | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: