Interface PubrelInboundOutput

    • Method Detail

      • async

        @NotNull Async<PubrelInboundOutput> async​(@NotNull Duration timeout)
        If the timeout is expired before Async.resume() is called then the outcome is handled as failed. In that case an unmodified PUBREL is forwarded to the next interceptor or server, all changes made by this interceptor are not passed on.

        Do not call this method more than once. If an async method is called multiple times an exception is thrown.

        Specified by:
        async in interface SimpleAsyncOutput<PubrelInboundOutput>
        Parameters:
        timeout - Timeout that HiveMQ waits for the result of the async operation.
        Returns:
        An Async object, usually containing the output object.
        Throws:
        UnsupportedOperationException - If async is called more than once.
        Since:
        4.3.0, CE 2020.1