|
|
AppContext provides a run() method to act as the main loop of an event driven program. Methods are called for getting notification of file descriptor and timer-based events, which are used to set parameters to be passed to select(2) in run().
|
~ |
[virtual]
typedef |
Callback type for getting events about file descriptors.
enum |
int |
[virtual]
Register for events on a file descriptor. It is an error to add more than one monitor with the same access for one file descriptor. It's OK to monitor a single file descriptor for both INPUT and OUTPUT (by calling registerMonitor() twice).
void |
[virtual]
Unregister for events on a file descriptor.
typedef |
Timers are fired once, then removed. They can be reasserted if an interval is required.
int |
[virtual]
Register a timer.
void |
[virtual]
Unregister a timer.
int |
[virtual]
Main select loop. Runs until exit() is called. Returns exitCode passed to exit().
void |
[virtual]
Terminate the main loop.
void |
[virtual]
Set a property for this application.
String |
[virtual]
Get a property for this application.
int |
[virtual]
Get the number of a property. This can be used to determine the order in which two properties were set.
AppContext& |
[static]
Get access to an instance of AppContext.
Generated by: rusty@irem on Mon Sep 18 18:07:52 2000, using kdoc 2.0a36. |