Reactor class.
More...
#include <reactor.hpp>
|
| void | dispatch () |
| | dispatch events received.
|
| |
◆ Reactor() [1/3]
◆ Reactor() [2/3]
| join::Reactor::Reactor |
( |
const Reactor & | other | ) |
|
|
delete |
copy constructor.
- Parameters
-
| other | other object to copy. |
◆ Reactor() [3/3]
| join::Reactor::Reactor |
( |
Reactor && | other | ) |
|
|
delete |
move constructor.
- Parameters
-
| other | other object to move. |
◆ ~Reactor()
◆ addHandler()
add handler to reactor.
- Parameters
-
- Returns
- 0 on success, -1 on failure.
◆ delHandler()
delete handler from reactor.
- Parameters
-
- Returns
- 0 on success, -1 on failure.
◆ dispatch()
| void Reactor::dispatch |
( |
| ) |
|
|
protected |
dispatch events received.
◆ instance()
◆ operator=() [1/2]
copy assignment operator.
- Parameters
-
| other | other object to copy. |
- Returns
- current object.
◆ operator=() [2/2]
move assignment operator.
- Parameters
-
| other | other object to move. |
- Returns
- current object.
◆ _epoll
| int join::Reactor::_epoll = -1 |
|
protected |
◆ _eventfd
| int join::Reactor::_eventfd = -1 |
|
protected |
◆ _mutex
◆ _num
| int join::Reactor::_num = 0 |
|
protected |
◆ _running
| bool join::Reactor::_running = false |
|
protected |
◆ _threadId
| std::thread::id join::Reactor::_threadId |
|
protected |
◆ _threadStatus
The documentation for this class was generated from the following files: