|
join 1.0
lightweight network framework library
|
Event handler interface class. More...
#include <reactor.hpp>

Public Member Functions | |
| EventHandler ()=default | |
| create instance. | |
| EventHandler (const EventHandler &other)=default | |
| copy constructor. | |
| EventHandler & | operator= (const EventHandler &other)=default |
| copy assignment operator. | |
| EventHandler (EventHandler &&other)=default | |
| move constructor. | |
| EventHandler & | operator= (EventHandler &&other)=default |
| move assignment operator. | |
| virtual | ~EventHandler ()=default |
| destroy instance. | |
Protected Member Functions | |
| virtual void | onReceive (int fd) |
| method called when data are ready to be read on handle. | |
| virtual void | onClose (int fd) |
| method called when handle is closed. | |
| virtual void | onError (int fd) |
| method called when an error occurred on handle. | |
Friends | |
| class | Reactor |
| friendship with reactor. | |
Event handler interface class.
|
default |
create instance.
|
default |
copy constructor.
| other | other object to copy. |
|
default |
move constructor.
| other | other object to move. |
|
virtualdefault |
destroy instance.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
method called when an error occurred on handle.
| fd | file descriptor. |
Reimplemented in ReactorTest.
|
inlineprotectedvirtual |
method called when data are ready to be read on handle.
| fd | file descriptor. |
Reimplemented in join::BasicTimer< ClockPolicy >, join::NetlinkManager, and ReactorTest.
|
default |
copy assignment operator.
| other | other object to copy. |
|
default |
move assignment operator.
| other | other object to move. |
|
friend |
friendship with reactor.