Interface FederationConsumerInternal

    • Method Detail

      • start

        void start()
        Starts the consumer instance which includes creating the remote resources and performing any internal initialization needed to fully establish the consumer instance. This call should not block and any errors encountered on creation of the backing consumer resources should utilize the error handling mechanisms of this Federation instance.
      • close

        void close()
        Close the federation consumer instance and cleans up its resources. This method should not block and the actual resource shutdown work should occur asynchronously.
      • setRemoteClosedHandler

        FederationConsumerInternal setRemoteClosedHandler​(Consumer<FederationConsumerInternal> handler)
        Provides and event point for notification of the consumer having been closed by the remote.
        Parameters:
        handler - The handler that will be invoked when the remote closes this consumer.
        Returns:
        this consumer instance.