client-cpp  0.10.0
kaa::IAttachStatusListener Class Referenceabstract

Interface to the listener notifies of the current endpoint is attached/detached by the another endpoint. More...

#include <IAttachStatusListener.hpp>

Public Member Functions

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 ()
 

Detailed Description

Interface to the listener notifies of the current endpoint is attached/detached by the another endpoint.

Definition at line 28 of file IAttachStatusListener.hpp.

Constructor & Destructor Documentation

virtual kaa::IAttachStatusListener::~IAttachStatusListener ( )
inlinevirtual

Definition at line 48 of file IAttachStatusListener.hpp.

Member Function Documentation

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]userExternalIdThe external id of the user to which the current endpoint is attached.
[in]endpointAccessTokenThe 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]endpointAccessTokenThe access token of the endpoint that has detached the current one.

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