5-36 SOMobjects Base Toolkit Programmer’s Reference
Manual
SOMESinkEvent Class
Description
This class describes a sink event that is generated by EMan when it notices activity on a
registered sink. On AIX, a sink refers to any file descriptor ( file open for reading or writing),
any pipe descriptor, a socket ID or a message queue ID. On OS/2 or Windows, a sink refers
to a socket ID. One can register for three types of interest in a sink: Read interest, Write
interest, and Exception interest. (See the eventmsk.h file to determine the appropriate bit
constants and see the someSetRegDataSinkMask method for their use.)
EMan passes an instance of this class as a parameter to the callback registered for Sink
Events. The callback can query the instance for some information on the sink.
File Stem
sinkev
Base
SOMEEvent
Metaclass
SOMClass
Ancestor Classes
SOMEEvent
SOMObject
New Methods
somevGetEventSink
somevSetEventSink
Overriding Methods
somInit
Commenti su questo manuale