#include <EventHandler.h>
Public Member Functions |
|
virtual | ~EventHandler ()=default |
virtual int | event_descriptor () const |
virtual void | handle_read (const EventInfo &info) |
virtual void | handle_write (const EventInfo &info) |
virtual void | handle_timeout (const EventInfo &info) |
virtual void | handle_error (const EventInfo &info) |
virtual void | handle_hangup (const EventInfo &info) |
Static Public Attributes |
|
static const int | NoDescriptor = -1 |
Protected Member Functions |
|
const TimeValue & | timeout () const |
const TimeValue & | expiration () const |
bool | has_timeout () const |
Friends |
|
class | EventLoop |
class | EventLoopState |
Detailed Description
Definition at line 42 of file EventHandler.h.
Constructor & Destructor Documentation
|
virtualdefault |
Member Function Documentation
|
inlinevirtual |
Reimplemented in ServiceEventHandler< PP >.
Definition at line 74 of file EventHandler.h.
References NoDescriptor.
Referenced by EventLoop::start().
|
inlineprotected |
Definition at line 60 of file EventHandler.h.
Referenced by EventLoop::start().
|
inlinevirtual |
Definition at line 90 of file EventHandler.h.
Referenced by EventLoop::start().
|
inlinevirtual |
Definition at line 92 of file EventHandler.h.
Referenced by EventLoop::start().
|
inlinevirtual |
Reimplemented in ServiceEventHandler< PP >.
Definition at line 82 of file EventHandler.h.
Referenced by EventLoop::start().
|
inlinevirtual |
Reimplemented in ServiceEventHandler< PP >, and ServiceContext::TimeoutHandler.
Definition at line 86 of file EventHandler.h.
Referenced by EventLoop::start().
|
inlinevirtual |
Definition at line 84 of file EventHandler.h.
Referenced by EventLoop::start().
|
inlineprotected |
Definition at line 64 of file EventHandler.h.
References InfiniteTimeValue.
Referenced by EventLoop::start().
|
inlineprotected |
Definition at line 56 of file EventHandler.h.
Referenced by EventLoop::start().
Friends And Related Function Documentation
|
friend |
Definition at line 43 of file EventHandler.h.
|
friend |
Definition at line 44 of file EventHandler.h.
Member Data Documentation
|
static |
Definition at line 70 of file EventHandler.h.
Referenced by event_descriptor().
The documentation for this class was generated from the following file: