17 #ifndef IATTACHENDPOINTCALLBACK_HPP_ 
   18 #define IATTACHENDPOINTCALLBACK_HPP_ 
Interface to the listener notifies of the result of whether the current endpoint has successfully att...
 
virtual ~IAttachEndpointCallback()
 
virtual void onAttachSuccess(const std::string &endpointKeyHash)=0
Callback is used when the current endpoint has successfully attached the target endpoint. 
 
std::shared_ptr< IAttachEndpointCallback > IAttachEndpointCallbackPtr
 
virtual void onAttachFailed()=0
Callback is used when the current endpoint has failed to attach the target endpoint.