public interface Driver
| Modifier and Type | Method and Description |
|---|---|
void |
browse(BrowseOperation browseOperation)
Asynchronous browse operation.
|
void |
buildNode(java.lang.String address,
NodeId nodeId)
For the given address, build an appropriate
Node and at it to the UA address space. |
default java.util.Optional<DriverMetrics> |
getDriverMetrics()
If this driver uses a traditional polling model, a
DriverMetrics. |
java.lang.String |
getDriverStatus()
Returns the current status of the driver.
|
default java.util.Optional<java.lang.String> |
getDriverStatusJSLibName() |
default java.util.Optional<java.lang.String> |
getDriverStatusJSUrl() |
void |
readItems(java.util.List<? extends ReadItem> items)
Asynchronous read call for a list of items.
|
void |
shutdown()
Called when a driver should cease all activities and shutdown any open connections.
|
void |
writeItems(java.util.List<? extends WriteItem> items)
Asynchronous write call for a list of items.
|
void readItems(java.util.List<? extends ReadItem> items)
ReadItem.setValue(DataValue).void writeItems(java.util.List<? extends WriteItem> items)
WriteItem.setWriteStatus(StatusCode).void browse(BrowseOperation browseOperation)
BrowseOperation.browseDone(StatusCode, List, Guid).void buildNode(java.lang.String address,
NodeId nodeId)
throws AddressNotFoundException
Node and at it to the UA address space. See DriverContext.getNodeManager() and DriverContext.getNodeBuilderFactory() for more information.
If for any reason the node cannot be built AddressNotFoundException should be thrown.address - Address of the node that is to be built.nodeId - The NodeId to use when building the Node for this address.AddressNotFoundExceptiondefault java.util.Optional<DriverMetrics> getDriverMetrics()
DriverMetrics.DriverMetrics if supported by this driver.java.lang.String getDriverStatus()
void shutdown()
default java.util.Optional<java.lang.String> getDriverStatusJSUrl()
default java.util.Optional<java.lang.String> getDriverStatusJSLibName()