org.eclipse.swt.ole.win32
Class SinkObject

java.lang.Object
  extended byorg.eclipse.swt.ole.win32.SinkObject

public class SinkObject
extends java.lang.Object


Constructor Summary
SinkObject()
           
 
Method Summary
 void addEventListener(int iunknown, org.eclipse.swt.internal.ole.win32.GUID guid, int eventID, org.eclipse.swt.ole.win32.OleListener listener)
          Adds the listener to receive events.
 void disconnectEventSinks()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SinkObject

public SinkObject()
Method Detail

disconnectEventSinks

public void disconnectEventSinks()

addEventListener

public void addEventListener(int iunknown,
                             org.eclipse.swt.internal.ole.win32.GUID guid,
                             int eventID,
                             org.eclipse.swt.ole.win32.OleListener listener)
Adds the listener to receive events.

Parameters:
iunknown - the IUnknown of the automation object.
guid - GUID of the source object that provides the event notification.
eventID - the id of the event
listener - the listener
Throws:
org.eclipse.swt.SWTError -
  • ERROR_NULL_ARGUMENT when listener is null