#include <handler.h>
Public Member Functions | |
| handler_provider (kernel::module &module, handler *handler) | |
| virtual | ~handler_provider () |
| virtual void | start (void)=0 |
| virtual void | stop (void)=0 |
| virtual void | set_timer (uint64_t milliseconds)=0 |
| virtual void | set_file_descriptor (int file_descriptor)=0 |
| virtual void | watch_read (void)=0 |
| virtual void | watch_write (void)=0 |
| virtual void | run_now (void)=0 |
Protected Member Functions | |
| void | _stop (void) |
Protected Attributes | |
| kernel::module & | _module |
| handler * | _handler |
Private Member Functions | |
| handler_provider (const handler_provider &) | |
| handler_provider & | operator= (const handler_provider &) |
This is the base class for classes that provide event handlers. Instances of this class are bound to handler instances to provide the implementation.
Definition at line 188 of file handler.h.
| scalestack::event::handler_provider::handler_provider | ( | kernel::module & | module, | |
| handler * | handler | |||
| ) | [inline] |
| scalestack::event::handler_provider::~handler_provider | ( | ) | [inline, virtual] |
Reimplemented in scalestack::event::libevent::handler_provider.
| scalestack::event::handler_provider::handler_provider | ( | const handler_provider & | ) | [private] |
Don't allow copying of objects.
| virtual void scalestack::event::handler_provider::start | ( | void | ) | [pure virtual] |
See handler::start().
Implemented in scalestack::event::libevent::handler_provider.
| virtual void scalestack::event::handler_provider::stop | ( | void | ) | [pure virtual] |
See handler::stop().
Implemented in scalestack::event::libevent::handler_provider.
| virtual void scalestack::event::handler_provider::set_timer | ( | uint64_t | milliseconds | ) | [pure virtual] |
See handler::set_timer().
Implemented in scalestack::event::libevent::handler_provider.
| virtual void scalestack::event::handler_provider::set_file_descriptor | ( | int | file_descriptor | ) | [pure virtual] |
See handler::set_file_descriptor().
Implemented in scalestack::event::libevent::handler_provider.
| virtual void scalestack::event::handler_provider::watch_read | ( | void | ) | [pure virtual] |
Implemented in scalestack::event::libevent::handler_provider.
| virtual void scalestack::event::handler_provider::watch_write | ( | void | ) | [pure virtual] |
Implemented in scalestack::event::libevent::handler_provider.
| virtual void scalestack::event::handler_provider::run_now | ( | void | ) | [pure virtual] |
See handler::run_now().
Implemented in scalestack::event::libevent::handler_provider.
| void scalestack::event::handler_provider::_stop | ( | void | ) | [inline, protected] |
See handler::_stop().
| handler_provider& scalestack::event::handler_provider::operator= | ( | const handler_provider & | ) | [private] |
Don't allow assignment of objects.
handler* scalestack::event::handler_provider::_handler [protected] |
1.6.3