#include <EventHandler.h>

Public Member Functions |
|
| virtual | ~EventHandler () |
| 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 43 of file EventHandler.h.
Constructor & Destructor Documentation
| virtual service::EventHandler::~EventHandler | ( | ) | [inline, virtual] |
Definition at line 73 of file EventHandler.h.
Member Function Documentation
| virtual int service::EventHandler::event_descriptor | ( | ) | const [inline, virtual] |
Reimplemented in service::ServiceEventHandler< PP >.
Definition at line 75 of file EventHandler.h.
Referenced by service::EventLoop::start().
| const TimeValue& service::EventHandler::expiration | ( | ) | const [inline, protected] |
Definition at line 61 of file EventHandler.h.
Referenced by service::EventLoop::start().
| virtual void service::EventHandler::handle_error | ( | const EventInfo & | info | ) | [inline, virtual] |
Definition at line 91 of file EventHandler.h.
Referenced by service::EventLoop::start().
| virtual void service::EventHandler::handle_hangup | ( | const EventInfo & | info | ) | [inline, virtual] |
Definition at line 93 of file EventHandler.h.
Referenced by service::EventLoop::start().
| virtual void service::EventHandler::handle_read | ( | const EventInfo & | info | ) | [inline, virtual] |
Reimplemented in service::ServiceEventHandler< PP >.
Definition at line 83 of file EventHandler.h.
Referenced by service::EventLoop::start().
| virtual void service::EventHandler::handle_timeout | ( | const EventInfo & | info | ) | [inline, virtual] |
Reimplemented in service::ServiceContext::TimeoutHandler, and service::ServiceEventHandler< PP >.
Definition at line 87 of file EventHandler.h.
Referenced by service::EventLoop::start().
| virtual void service::EventHandler::handle_write | ( | const EventInfo & | info | ) | [inline, virtual] |
Definition at line 85 of file EventHandler.h.
Referenced by service::EventLoop::start().
| bool service::EventHandler::has_timeout | ( | ) | const [inline, protected] |
Definition at line 65 of file EventHandler.h.
References utility::InfiniteTimeValue.
Referenced by service::EventLoop::start().
| const TimeValue& service::EventHandler::timeout | ( | ) | const [inline, protected] |
Definition at line 57 of file EventHandler.h.
Referenced by service::EventLoop::start().
Friends And Related Function Documentation
friend class EventLoop [friend] |
Definition at line 44 of file EventHandler.h.
friend class EventLoopState [friend] |
Definition at line 45 of file EventHandler.h.
Member Data Documentation
const int service::EventHandler::NoDescriptor = -1 [static] |
Definition at line 71 of file EventHandler.h.
The documentation for this class was generated from the following file: