Class SubscriptionManager
- java.lang.Object
-
- org.apache.camel.component.milo.client.internal.SubscriptionManager
-
public class SubscriptionManager extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SubscriptionManager.Worker<T>
-
Constructor Summary
Constructors Constructor Description SubscriptionManager(MiloClientConfiguration configuration, ScheduledExecutorService executor, long reconnectTimeout)
-
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, org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] inputArguments)
void
dispose()
CompletableFuture<?>
readValues(List<org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId> nodeIds)
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger
registerItem(org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId nodeId, Double samplingInterval, Consumer<org.eclipse.milo.opcua.stack.core.types.builtin.DataValue> valueConsumer, MonitorFilterConfiguration monitorFilterConfiguration)
void
unregisterItem(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger clientHandle)
protected void
whenConnected(SubscriptionManager.Worker<org.apache.camel.component.milo.client.internal.SubscriptionManager.Connected> worker)
CompletableFuture<?>
write(org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId nodeId, org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value)
-
-
-
Constructor Detail
-
SubscriptionManager
public SubscriptionManager(MiloClientConfiguration configuration, ScheduledExecutorService executor, long reconnectTimeout)
-
-
Method Detail
-
dispose
public void dispose()
-
whenConnected
protected void whenConnected(SubscriptionManager.Worker<org.apache.camel.component.milo.client.internal.SubscriptionManager.Connected> worker)
-
registerItem
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger registerItem(org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId nodeId, Double samplingInterval, Consumer<org.eclipse.milo.opcua.stack.core.types.builtin.DataValue> valueConsumer, MonitorFilterConfiguration monitorFilterConfiguration)
-
unregisterItem
public void unregisterItem(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger clientHandle)
-
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, org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] inputArguments)
-
write
public CompletableFuture<?> write(org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId nodeId, org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value)
-
readValues
public CompletableFuture<?> readValues(List<org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId> nodeIds)
-
-