|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IoManagerListener
Listens events from IoManager. Listeners are applied sequentially
in IoManagerListenerChain. If a listener does not handle an event, the event is passed to
the next listener in the chain.
| Method Summary | |
|---|---|
EnumSet<org.opcfoundation.ua.core.AccessLevel> |
onGetUserAccessLevel(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
UaVariable node)
Notification of a read request for user access level attribute of a node. |
Boolean |
onGetUserExecutable(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
UaMethod node)
Notification of a read request for user executable attribute of a node. |
EnumSet<WriteAccess> |
onGetUserWriteMask(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
UaNode node)
Notification of a read request for user write mask attribute of a node. |
boolean |
onReadNonValue(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
UaNode node,
org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
org.opcfoundation.ua.builtintypes.DataValue dataValue)
Notification of a read request for a node attribute, except for the Value attribute of a variable node (which goes to onReadValue). |
boolean |
onReadValue(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
UaValueNode variable,
org.opcfoundation.ua.utils.NumericRange indexRange,
org.opcfoundation.ua.core.TimestampsToReturn timestampsToReturn,
org.opcfoundation.ua.builtintypes.DateTime minTimestamp,
org.opcfoundation.ua.builtintypes.DataValue dataValue)
Notification of a read request for the Value attribute of a Variable node. |
boolean |
onWriteNonValue(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
UaNode node,
org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
org.opcfoundation.ua.builtintypes.DataValue dataValue)
Notification of a write request for the value of a single node attribute, except for the Value of a variable node. |
boolean |
onWriteValue(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
UaValueNode valueNode,
org.opcfoundation.ua.utils.NumericRange indexRange,
org.opcfoundation.ua.builtintypes.DataValue dataValue)
Notification of a write request for the Value attribute of a Variable node. |
| Method Detail |
|---|
EnumSet<org.opcfoundation.ua.core.AccessLevel> onGetUserAccessLevel(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
UaVariable node)
serviceContext - The serviceContext of the client connection used to call this service.nodeId - The node to read.node - The node object to read. If the node is not available this may be null.
Boolean onGetUserExecutable(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
UaMethod node)
serviceContext - The serviceContext of the client connection used to call this service.nodeId - The node to read.node - The node object to read. If the node is not available this may be null.
EnumSet<WriteAccess> onGetUserWriteMask(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
UaNode node)
serviceContext - The serviceContext of the client connection used to call this service.nodeId - The node to read.node - The node object to read. If the node is not available this may be null.
boolean onReadNonValue(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
UaNode node,
org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
org.opcfoundation.ua.builtintypes.DataValue dataValue)
throws StatusException
serviceContext - The serviceContext of the client connection used to call this service.nodeId - The node to read.node - The node object to read. If the node is not available this may be null.attributeId - The attribute to read.dataValue - The data value being returned.
StatusException - Throw the exception to cancel the request, for example
due to insufficient user rights. Possible result codes: Bad_NodeIdInvalid,
Bad_NodeIdUnknown, Bad_AttributeIdInvalid, Bad_NotReadable, Bad_UserAccessDenied
boolean onReadValue(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
UaValueNode variable,
org.opcfoundation.ua.utils.NumericRange indexRange,
org.opcfoundation.ua.core.TimestampsToReturn timestampsToReturn,
org.opcfoundation.ua.builtintypes.DateTime minTimestamp,
org.opcfoundation.ua.builtintypes.DataValue dataValue)
throws StatusException
serviceContext - The serviceContext of the client connection used to call this service.nodeId - The node to read.variable - The node object to read. If the node is not available this may be null.indexRange - The requested index range for an array value. May be null.timestampsToReturn - Which timestamps were requested by the client.minTimestamp - Minimum value of the ServerTimestamp of the value to be read. If there is
no value available that is new enough already available (in the server cache), the
server should attempt to read a new value from the actual data source, instead of using
the cached value. If a new value cannot be read, the best value available is returned.
If minTimestamp == DateTime.MAX_VALUE a new value should be read from the source.dataValue - The data value to return. Set Value, and for Value attribute also StatusCode
and the Timestamps.
StatusException - Throw the exception to cancel the request, for example due to
insufficient user rights. Possible result codes: Bad_NodeIdInvalid, Bad_NodeIdUnknown,
Bad_IndexRangeInvalid, Bad_IndexRangeNoData, Bad_NotReadable, Bad_UserAccessDenied
boolean onWriteNonValue(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
UaNode node,
org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
org.opcfoundation.ua.builtintypes.DataValue dataValue)
throws StatusException
serviceContext - The serviceContext of the client connection used to call this service.nodeId - The node to write.node - The node object to write. If the node is not available this may be null.attributeId - The attribute to write.dataValue - The data value to write.
StatusException - If the write fails. Expected result codes: Bad_NodeIdInvalid,
Bad_NodeIdUnknown, Bad_AttributeIdInvalid, Bad_IndexRangeInvalid, Bad_IndexRangeNoData,
Bad_DataEncodingInvalid, Bad_DataEncodingUnsupported, Bad_NotWriteable,
Bad_UserAccessDenied, Bad_TypeMismatch
boolean onWriteValue(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
UaValueNode valueNode,
org.opcfoundation.ua.utils.NumericRange indexRange,
org.opcfoundation.ua.builtintypes.DataValue dataValue)
throws StatusException
serviceContext - The serviceContext of the client connection used to call this service.nodeId - The node to write.valueNode - The node object to write. If the node is not available this may be null.indexRange - The index range to set for an array value. May be null.dataValue - The data value to write.
StatusException - If the write fails. Expected result codes: Bad_NodeIdInvalid,
Bad_NodeIdUnknown, Bad_AttributeIdInvalid, Bad_IndexRangeInvalid, Bad_IndexRangeNoData,
Bad_DataEncodingInvalid, Bad_DataEncodingUnsupported, Bad_NotWriteable,
Bad_UserAccessDenied, Bad_OutOfRange, Bad_TypeMismatch, Bad_WriteNotSupported
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||