IOCallback(3I) | InterViews Reference Manual | IOCallback(3I) |
IOCallback - generic callback class for readers, writers, or I/O exception handlers
#include <Dispatch/iocallback.h>
For convenience, the macros defined in iocallback.h allow the user to define an iohandler which does nothing more than call an arbitrary object's member function. The actual code to read data from a file descriptor, write data to a file descriptor, handle an I/O exception on a file descriptor, or handle a timer's expiration can reside in any arbitrary class rather than in the iohandler.
21 December 1990 | InterViews |