public class JIOPCEventSink extends Object
| Constructor and Description |
|---|
JIOPCEventSink() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(EventNotificationListener listener) |
static JIStruct |
fileTimeOutStruct()
Create an out struct definition of this object that may be use in a call object
|
static JILocalCoClass |
getCoClass(JIOPCEventSink instance) |
Object[] |
onEvent(int clientSubscription,
int refresh,
int lastRefresh,
int count,
JIArray eventsArray)
This method is provided by the client to handle notifications from the OPCEventSubscription for events.
|
void |
removeListener(EventNotificationListener listener) |
public static final String OPC_IID
public void addListener(EventNotificationListener listener)
public void removeListener(EventNotificationListener listener)
public Object[] onEvent(int clientSubscription, int refresh, int lastRefresh, int count, JIArray eventsArray) throws JIException
clientSubscription - The client handle for the subscription object sending the event notifications.refresh - TRUE if this is a subscription refresh.lastRefresh - TRUE if this is the last subscription refresh in response to a specific invocation of the IOPCEventSubscriptionMgt::Refresh method.count - Number of event notifications. A value of zero indicates this is a keep-alive notification.events - Array of event notificationsJIExceptionpublic static final JIStruct fileTimeOutStruct()
public static final JILocalCoClass getCoClass(JIOPCEventSink instance)
Copyright © 2017 LSST. All rights reserved.