Class MiloClientConnection
- java.lang.Object
-
- org.apache.camel.component.milo.client.MiloClientConnection
-
- All Implemented Interfaces:
AutoCloseable
public class MiloClientConnection extends Object implements AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMiloClientConnection.MonitorHandle
-
Constructor Summary
Constructors Constructor Description MiloClientConnection(MiloClientConfiguration configuration, MonitorFilterConfiguration monitorFilterConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<org.eclipse.milo.opcua.stack.core.types.structured.CallMethodResult>call(org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId nodeId, org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId methodId, Object value)protected voidcheckInit()voidclose()MiloClientConfigurationgetConfiguration()StringgetConnectionId()protected voidinit()MiloClientConnection.MonitorHandlemonitorValue(org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId nodeId, Double samplingInterval, Consumer<org.eclipse.milo.opcua.stack.core.types.builtin.DataValue> valueConsumer)CompletableFuture<?>readValues(List<org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId> nodeIds)CompletableFuture<?>writeValue(org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId nodeId, Object value)
-
-
-
Constructor Detail
-
MiloClientConnection
public MiloClientConnection(MiloClientConfiguration configuration, MonitorFilterConfiguration monitorFilterConfiguration)
-
-
Method Detail
-
getConfiguration
public MiloClientConfiguration getConfiguration()
-
init
protected void init()
-
close
public void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
checkInit
protected void checkInit()
-
monitorValue
public MiloClientConnection.MonitorHandle monitorValue(org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId nodeId, Double samplingInterval, Consumer<org.eclipse.milo.opcua.stack.core.types.builtin.DataValue> valueConsumer)
-
getConnectionId
public String getConnectionId()
-
writeValue
public CompletableFuture<?> writeValue(org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId nodeId, Object value)
-
readValues
public CompletableFuture<?> readValues(List<org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId> nodeIds)
-
call
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.structured.CallMethodResult> call(org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId nodeId, org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId methodId, Object value)
-
-