17 #ifndef IUSERATTACHCALLBACK_HPP_
18 #define IUSERATTACHCALLBACK_HPP_
23 #include "kaa/gen/EndpointGen.hpp"
47 virtual void onAttachFailed(UserAttachErrorCode errorCode,
const std::string& reason) = 0;
virtual void onAttachSuccess()=0
Callback is used when the current endpoint has successfully attached itself to the user...
Interface to the listener notifies of the result of whether the current endpoint has successfully att...
virtual ~IUserAttachCallback()
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.
std::shared_ptr< IUserAttachCallback > IUserAttachCallbackPtr