21 #ifndef G_NET_EVENT_HANDLER__H
22 #define G_NET_EVENT_HANDLER__H
75 static std::string
str( Reason ) ;
virtual void readEvent()
Called for a read event.
virtual void writeEvent()
Called for a write event.
A base class for classes that handle asynchronous events from the event loop.
static std::string str(Reason)
Returns a printable description of the other-event reason.
virtual void otherEvent(Reason)
Called for a socket-exception event or a socket-close event on windows.
virtual ~EventHandler()
Destructor.