Interface to the listener notifies of the current endpoint is attached/detached by the another endpoint.
More...
#include <IAttachStatusListener.hpp>
|
virtual void | onAttach (const std::string &userExternalId, const std::string &endpointAccessToken)=0 |
| Callback is used when the current endpoint is attached to a user by the another endpoint. More...
|
|
virtual void | onDetach (const std::string &endpointAccessToken)=0 |
| Callback is used when the current endpoint is detached from the user by the another endpoint. More...
|
|
virtual | ~IAttachStatusListener () |
|
Interface to the listener notifies of the current endpoint is attached/detached by the another endpoint.
Definition at line 28 of file IAttachStatusListener.hpp.
virtual kaa::IAttachStatusListener::~IAttachStatusListener |
( |
| ) |
|
|
inlinevirtual |
virtual void kaa::IAttachStatusListener::onAttach |
( |
const std::string & |
userExternalId, |
|
|
const std::string & |
endpointAccessToken |
|
) |
| |
|
pure virtual |
Callback is used when the current endpoint is attached to a user by the another endpoint.
- Parameters
-
[in] | userExternalId | The external id of the user to which the current endpoint is attached. |
[in] | endpointAccessToken | The access token of the endpoint that has attached the current one. |
virtual void kaa::IAttachStatusListener::onDetach |
( |
const std::string & |
endpointAccessToken | ) |
|
|
pure virtual |
Callback is used when the current endpoint is detached from the user by the another endpoint.
- Parameters
-
[in] | endpointAccessToken | The access token of the endpoint that has detached the current one. |
The documentation for this class was generated from the following file: