28 #ifndef AsyncComm_RawSocketHandler_h
29 #define AsyncComm_RawSocketHandler_h
51 virtual bool handle(
int sd,
int events) = 0;
76 #endif // AsyncComm_RawSocketHandler_h
virtual void deregister(int sd)=0
Deregister handler for a given socket.
Abstract base class for application raw socket handlers registered with AsyncComm.
virtual ~RawSocketHandler()
Destructor.
virtual int poll_interest(int sd)=0
Returns desired polling interest for a socket.
virtual bool handle(int sd, int events)=0
Handle socket event.