17 #ifndef IREGISTRATIONPROCESSOR_HPP_ 
   18 #define IREGISTRATIONPROCESSOR_HPP_ 
   26 #include "kaa/gen/EndpointGen.hpp" 
   30 typedef std::shared_ptr<UserAttachRequest> UserAttachRequestPtr;
 
   32 class IRegistrationProcessor {
 
   34     virtual std::map<std::string, std::string>  getEndpointsToAttach() = 0;
 
   35     virtual std::map<std::string, std::string>  getEndpointsToDetach() = 0;
 
   36     virtual UserAttachRequestPtr                getUserAttachRequest() = 0;
 
   38     virtual void onUserAttach(
const UserSyncResponse::userAttachResponse_t& response) = 0;
 
   40     virtual void onEndpointsAttach(
const std::vector<EndpointAttachResponse>& endpoints) = 0;
 
   41     virtual void onEndpointsDetach(
const std::vector<EndpointDetachResponse>& endpoints) = 0;
 
   43     virtual void onCurrentEndpointAttach(
const UserAttachNotification& response) = 0;
 
   44     virtual void onCurrentEndpointDetach(
const UserDetachNotification& response) = 0;
 
   46     virtual ~IRegistrationProcessor() {}