client-cpp  0.10.0
kaa::IAttachEndpointCallback Class Referenceabstract

Interface to the listener notifies of the result of whether the current endpoint has successfully attached a target endpoint. More...

#include <IAttachEndpointCallback.hpp>

Public Member Functions

virtual void onAttachSuccess (const std::string &endpointKeyHash)=0
 Callback is used when the current endpoint has successfully attached the target endpoint. More...
 
virtual void onAttachFailed ()=0
 Callback is used when the current endpoint has failed to attach the target endpoint. More...
 
virtual ~IAttachEndpointCallback ()
 

Detailed Description

Interface to the listener notifies of the result of whether the current endpoint has successfully attached a target endpoint.

The target endpoint will be attached to the user to which the current endpoint is attached.

Definition at line 31 of file IAttachEndpointCallback.hpp.

Constructor & Destructor Documentation

virtual kaa::IAttachEndpointCallback::~IAttachEndpointCallback ( )
inlinevirtual

Definition at line 45 of file IAttachEndpointCallback.hpp.

Member Function Documentation

virtual void kaa::IAttachEndpointCallback::onAttachFailed ( )
pure virtual

Callback is used when the current endpoint has failed to attach the target endpoint.

virtual void kaa::IAttachEndpointCallback::onAttachSuccess ( const std::string &  endpointKeyHash)
pure virtual

Callback is used when the current endpoint has successfully attached the target endpoint.

Parameters
[in]endpointKeyHashThe key hash of the attached endpoint.

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