Package org.yamcs.client.base
Class ResponseObserver<T>
- java.lang.Object
-
- org.yamcs.client.base.ResponseObserver<T>
-
-
Constructor Summary
Constructors Constructor Description ResponseObserver(CompletableFuture<T> future)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
complete()
void
completeExceptionally(Throwable t)
void
next(T message)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.yamcs.api.Observer
complete, isCancelled, setCancelHandler
-
-
-
-
Constructor Detail
-
ResponseObserver
public ResponseObserver(CompletableFuture<T> future)
-
-
Method Detail
-
completeExceptionally
public void completeExceptionally(Throwable t)
- Specified by:
completeExceptionally
in interfaceObserver<T>
-
-