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 interface
MiloClientConnection.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<Map<org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId,org.eclipse.milo.opcua.stack.core.types.structured.BrowseResult>>
browse(List<org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId> expandedNodeIds, org.eclipse.milo.opcua.stack.core.types.enumerated.BrowseDirection direction, int nodeClasses, int maxDepth, String filter, boolean includeSubTypes, int maxNodesPerRequest)
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()
MiloClientConfiguration
getConfiguration()
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<?>
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:
close
in 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)
-
browse
public CompletableFuture<Map<org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId,org.eclipse.milo.opcua.stack.core.types.structured.BrowseResult>> browse(List<org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId> expandedNodeIds, org.eclipse.milo.opcua.stack.core.types.enumerated.BrowseDirection direction, int nodeClasses, int maxDepth, String filter, boolean includeSubTypes, int maxNodesPerRequest)
-
-