client-cpp  0.0.1-SNAPSHOT
kaa::IEndpointAttachStatusListener Class Referenceabstract

#include <IEndpointAttachStatusListener.hpp>

Public Member Functions

virtual void onAttachSuccess (const std::string &userExternalId, const std::string &endpointAccessToken)=0
 
virtual void onAttachFailure ()=0
 
virtual void onDetachSuccess (const std::string &endpointAccessToken)=0
 
virtual void onDetachFailure ()=0
 
virtual ~IEndpointAttachStatusListener ()
 

Detailed Description

Interface for listener to notify about attaching/detaching current endpoint by another one

Definition at line 28 of file IEndpointAttachStatusListener.hpp.

Constructor & Destructor Documentation

virtual kaa::IEndpointAttachStatusListener::~IEndpointAttachStatusListener ( )
inlinevirtual

Definition at line 58 of file IEndpointAttachStatusListener.hpp.

Member Function Documentation

virtual void kaa::IEndpointAttachStatusListener::onAttachFailure ( )
pure virtual

Callback on failure while attaching either current endpoint or another one

virtual void kaa::IEndpointAttachStatusListener::onAttachSuccess ( const std::string &  userExternalId,
const std::string &  endpointAccessToken 
)
pure virtual

Callback on attaching either the current endpoint or another one

Parameters
userExternalIdexternal id of the user to be attached
endpointAccessTokenendpoint access token of the current endpoint
virtual void kaa::IEndpointAttachStatusListener::onDetachFailure ( )
pure virtual

Callback on failure while detaching either current endpoint or another one

virtual void kaa::IEndpointAttachStatusListener::onDetachSuccess ( const std::string &  endpointAccessToken)
pure virtual

Callback on detaching either the current endpoint or another one

Parameters
endpointAccessTokenendpoint access token of the current endpoint

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