client-cpp  0.7.0
kaa::IUserAttachCallback Class Referenceabstract

Interface to the listener notifies of the result of whether the current endpoint has successfully attached itself to the user. More...

#include <IUserAttachCallback.hpp>

Public Member Functions

virtual void onAttachSuccess ()=0
 Callback is used when the current endpoint has successfully attached itself to the user. More...
 
virtual void onAttachFailed (UserAttachErrorCode errorCode, const std::string &reason)=0
 Callback is used when the current endpoint has failed to attach itself to the user. More...
 
virtual ~IUserAttachCallback ()
 

Detailed Description

Interface to the listener notifies of the result of whether the current endpoint has successfully attached itself to the user.

Definition at line 31 of file IUserAttachCallback.hpp.

Constructor & Destructor Documentation

virtual kaa::IUserAttachCallback::~IUserAttachCallback ( )
inlinevirtual

Definition at line 49 of file IUserAttachCallback.hpp.

Member Function Documentation

virtual void kaa::IUserAttachCallback::onAttachFailed ( UserAttachErrorCode  errorCode,
const std::string &  reason 
)
pure virtual

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

Parameters
errorCode[in]The error code.
reason[in]The human readable description.
See also
UserAttachErrorCode
virtual void kaa::IUserAttachCallback::onAttachSuccess ( )
pure virtual

Callback is used when the current endpoint has successfully attached itself to the user.


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