DiffusionTM Java API 6.5.3
public interface Registration
Such a handler reference is provided whenever a handler with a server side presence is registered.
After the handler is unregistered, the handler's
will be called.
A handler can only be unregistered once. A given instance will return the same CompletableFuture if this method is called more than once.
If the task completes successfully, the CompletableFuture result will be null. The result type is any rather than Void to provide forward compatibility with future iterations of this API that may provide a non-null result with a more specific result type.
SessionClosedException– if the session is closed.
Copyright © 2020 Push Technology Ltd. All Rights Reserved.