public interface IConnectionPoint
| Modifier and Type | Method and Description |
|---|---|
IComEventCallbackCookie |
advise(java.lang.Class<?> comEventCallbackInterface,
IComEventCallbackListener comEventCallbackListener)
Set up the comEventCallbackListener to receive callback events from the target COM object
|
void |
unadvise(java.lang.Class<?> comEventCallbackInterface,
IComEventCallbackCookie cookie)
Stop listening for callback events
|
IComEventCallbackCookie advise(java.lang.Class<?> comEventCallbackInterface, IComEventCallbackListener comEventCallbackListener) throws COMException
comEventCallbackInterface - - the COM interface that the listener will receive events fromcomEventCallbackListener - - and object that will receive the callback eventsCOMExceptionvoid unadvise(java.lang.Class<?> comEventCallbackInterface,
IComEventCallbackCookie cookie)
comEventCallbackInterface - - the interface that is being listened tocookie - - the cookie that was returned when advise was called