public class MiloClientConnection extends Object implements AutoCloseable
Modifier and Type | Class and Description |
---|---|
static interface |
MiloClientConnection.MonitorHandle |
Constructor and Description |
---|
MiloClientConnection(MiloClientConfiguration configuration) |
Modifier and Type | Method and 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 void |
checkInit() |
void |
close() |
String |
getConnectionId() |
protected void |
init() |
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) |
CompletableFuture<?> |
writeValue(org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId nodeId,
Object value) |
public MiloClientConnection(MiloClientConfiguration configuration)
public void close() throws Exception
close
in interface AutoCloseable
Exception
protected void checkInit()
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)
public String getConnectionId()
public CompletableFuture<?> writeValue(org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId nodeId, Object value)
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)
Apache Camel