Interface PlcBrowseRequest

    • Method Detail

      • executeWithInterceptor

        CompletableFuture<? extends PlcBrowseResponse> executeWithInterceptor​(PlcBrowseRequestInterceptor interceptor)
        In contrast to the default execute method, the executeWithInterceptor allows passing in a so-called interceptor. This can be used for two different situations: 1. Filter which items go into the final PlcBrowseResponse (Items are added, if interceptor returns true). 2. Allow accessing found items on the fly while the system is still processing, hereby allowing a more asynchronous consumption of found tags.
        Parameters:
        interceptor - interceptor for intercepting found items
        Returns:
        future for the final PlcBrowseResponse