27 #ifndef AsyncComm_IOHandlerRaw_h
28 #define AsyncComm_IOHandlerRaw_h
54 m_socket_internally_created =
false;
79 #if defined(__APPLE__) || defined(__FreeBSD__)
94 #elif defined(__linux__)
111 #elif defined(__sun__)
151 #endif // AsyncComm_IOHandlerRaw_h
virtual void deregister(int sd)=0
Deregister handler for a given socket.
Declarations for RawSocketHandler.
chrono::time_point< fast_clock > time_point
Abstract base class for application raw socket handlers registered with AsyncComm.
void update_poll_interest()
Updates polling interest for socket.
IOHandlerRaw(int sd, const InetAddr &addr, RawSocketHandler *rhp)
Constructor.
RawSocketHandler * m_handler
Raw socket handler.
Encapsulate an internet address.
virtual ~IOHandlerRaw()
Destructor.
Base class for socket descriptor I/O handlers.
int m_sd
Socket descriptor.
Declarations for CommBuf.
InetAddr m_addr
Handler socket address.
Error codes, Exception handling, error logging.
bool handle_event(struct pollfd *event, ClockT::time_point arrival_time) override
Handle poll() interface events.
I/O handler for raw sockets.
Declarations for IOHandler.