Class SubscriptionManager


  • public class SubscriptionManager
    extends Object
    • 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, 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)  
    • 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)
      • 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)