public static interface ManagedEventItem.EventValueListener
ManagedEventItem.| Modifier and Type | Method and Description |
|---|---|
void |
onEventValueReceived(ManagedEventItem item,
org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] eventValues)
A new event for
item has arrived. |
void onEventValueReceived(ManagedEventItem item, org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] eventValues)
item has arrived.
Take care not to block unnecessarily in this callback because subscription notifications are processed synchronously as a backpressure mechanism. Blocking inside this callback will prevent subsequent notifications from being processed and new PublishRequests from being sent.
item - the ManagedEventItem for which a new event has arrived.eventValues - the new event field values.Copyright © 2021. All rights reserved.