5-38 SOMobjects Base Toolkit Programmer’s Reference
Manual
somevSetEventSink Method
Purpose
Sets the sink, or source of I/O, of the generic sink event.
IDL Syntax
void somevSetEventSink (
in long sink);
Description
The sink ID in the SinkEvent is set. For message queues, it is the queue ID; for files it is the
file descriptor; for sockets it is the socket ID; and for pipes it is the pipe descriptor.
Parameters
receiver A pointer to an object of class SOMESinkEvent.
ev A pointer to the Environment structure for the calling method.
sink An integer value indicating the file descriptor for input/output. It can also be
a socket ID, pipe ID, or a message queue ID.
Original Class
SOMESinkEvent
Related Information
Methods: somevGetEventSink
Kommentare zu diesen Handbüchern