#include <CFdReactor.h>
Inheritance diagram for CFdReactor:
Public Member Functions | |
CFdReactor () | |
CFdReactor (const char *pName) | |
CFdReactor (const STD(string)&rName) | |
virtual | ~CFdReactor () |
int | operator== (const CFdReactor &aCFdReactor) const |
Operator== Equality Operator. | |
virtual void | OnEvent (CEventMonitor &rMonitor) |
virtual void | OnReadable (CFdMonitor &rMonitor, int fd) |
virtual void | OnWritable (CFdMonitor &rMonitor, int fd) |
virtual void | OnException (CFdMonitor &rMonitor, int fd) |
Private Member Functions | |
CFdReactor (const CFdReactor &aCFdReactor) | |
Copy construction is prohibited. | |
CFdReactor & | operator= (const CFdReactor &aCFdReactor) |
Operator= Assignment Operator - Prohibited. |
Definition at line 317 of file CFdReactor.h.
|
Default constructor: Creates a file descriptor reactor which autonamed. Such fd reactors in general are not named in a memorable way. Definition at line 306 of file CFdReactor.cpp. References CNamedObject::AppendClassInfo(). |
|
Constructor for a named reactor. Creates a file descriptor reactor which is given a memorable name by the object's client.
Definition at line 316 of file CFdReactor.cpp. References CNamedObject::AppendClassInfo(). |
|
|
|
Copy construction is prohibited.
|
|
Definition at line 333 of file CFdReactor.cpp. |
|
EDispatches an incomming event from an FdMonitor to one or more of the following member functions:
NOTE: We can only dispatch to conditions the monitor is looking for. Throws:
Reimplemented from CReactor. Definition at line 363 of file CFdReactor.cpp. References CFdMonitor::getFd(), CFdMonitor::getLastEventMask(), OnException(), OnReadable(), and OnWritable(). |
|
Called when the file associated with the event monitor has an "exceptional condition".. Actual use of this Reactor involves subclassing the monitor and overriding OnException if you care about processing exceptional conditions. Reimplemented in CFileEvent::CFileEventReactor. Definition at line 415 of file CFdReactor.cpp. Referenced by OnEvent(). |
|
Called when the file associated with the event monitor becomes readable. Actual use of this Reactor involves subclassing the monitor and overriding OnReadable if you care about reading the file. Reimplemented in CFileEvent::CFileEventReactor. Definition at line 395 of file CFdReactor.cpp. Referenced by OnEvent(). |
|
Called when the file associated with the event monitor becomes writable. Actual use of this Reactor involves subclassing the monitor and overriding OnWritable if you care about writing the file. Reimplemented in CFileEvent::CFileEventReactor. Definition at line 405 of file CFdReactor.cpp. Referenced by OnEvent(). |
|
Operator= Assignment Operator - Prohibited.
|
|
Operator== Equality Operator.
Definition at line 338 of file CFdReactor.cpp. References CReactor::operator==(). |