public static interface ManagedDataItem.DataValueListener
ManagedDataItem.| Modifier and Type | Method and Description |
|---|---|
void |
onDataValueReceived(ManagedDataItem item,
org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value)
A new
DataValue for item has arrived. |
void onDataValueReceived(ManagedDataItem item, org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value)
DataValue for 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 ManagedDataItem for which a new value has arrived.value - the new DataValue.Copyright © 2021. All rights reserved.