#include <IEndpointRegistrationManager.hpp>
Manager which is responsible for Endpoints attach/detach.
Definition at line 33 of file IEndpointRegistrationManager.hpp.
virtual kaa::IEndpointRegistrationManager::~IEndpointRegistrationManager |
( |
| ) |
|
|
inlinevirtual |
virtual void kaa::IEndpointRegistrationManager::attachEndpoint |
( |
const std::string & |
endpointAccessToken, |
|
|
IEndpointAttachStatusListener * |
listener = nullptr |
|
) |
| |
|
pure 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. |
Implemented in kaa::EndpointRegistrationManager.
virtual void kaa::IEndpointRegistrationManager::attachUser |
( |
const std::string & |
userExternalId, |
|
|
const std::string & |
userAccessToken, |
|
|
IEndpointAttachStatusListener * |
listener = nullptr |
|
) |
| |
|
pure 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. |
Implemented in kaa::EndpointRegistrationManager.
virtual void kaa::IEndpointRegistrationManager::detachEndpoint |
( |
const std::string & |
endpointKeyHash, |
|
|
IEndpointAttachStatusListener * |
listener = nullptr |
|
) |
| |
|
pure 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. |
Implemented in kaa::EndpointRegistrationManager.
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. |
Implemented in kaa::EndpointRegistrationManager.
virtual const AttachedEndpoints& kaa::IEndpointRegistrationManager::getAttachedEndpoints |
( |
| ) |
|
|
pure virtual |
virtual const std::string& kaa::IEndpointRegistrationManager::getEndpointAccessToken |
( |
| ) |
|
|
pure virtual |
virtual bool kaa::IEndpointRegistrationManager::isCurrentEndpointAttached |
( |
| ) |
|
|
pure virtual |
virtual void kaa::IEndpointRegistrationManager::regenerateEndpointAccessToken |
( |
| ) |
|
|
pure virtual |
Set lister to notify about attaching/detaching the current endpoint either by itself or another endpoint
- Parameters
-
listener | Attach status listener |
Implemented in kaa::EndpointRegistrationManager.
The documentation for this class was generated from the following file: