#include <service.h>
Public Member Functions | |
| service (kernel::module &module) | |
| ~service () | |
Private Types | |
| typedef std::vector< thread * > | threads |
Private Member Functions | |
| service (const service &) | |
| service & | operator= (const service &) |
| event::handler_provider * | _add_handler (handler *handler) |
| void | _remove_threads (void) |
Private Attributes | |
| size_t | _current_thread |
| threads | _threads |
Definition at line 40 of file service.h.
typedef std::vector<thread*> scalestack::event::libevent::service::threads [private] |
| scalestack::event::libevent::service::service | ( | kernel::module & | module | ) |
Add the number of threads specified in the "threads" option.
| [in] | module | Module that the service is associated with. |
Reimplemented from scalestack::event::service.
Definition at line 50 of file service.cc.
| scalestack::event::libevent::service::~service | ( | ) | [virtual] |
Reimplemented from scalestack::event::service.
Definition at line 81 of file service.cc.
| scalestack::event::libevent::service::service | ( | const service & | ) | [private] |
Don't allow copying of objects.
Don't allow assignment of objects.
| event::handler_provider * scalestack::event::libevent::service::_add_handler | ( | handler * | handler | ) | [private, virtual] |
See event::service::_add_handler().
Implements scalestack::event::service.
Definition at line 90 of file service.cc.
| void scalestack::event::libevent::service::_remove_threads | ( | void | ) | [private] |
Remove all threads that were created in the constructor.
Definition at line 98 of file service.cc.
size_t scalestack::event::libevent::service::_current_thread [private] |
1.6.3