Class ResponseObserver<T>

java.lang.Object
org.yamcs.client.base.ResponseObserver<T>
All Implemented Interfaces:
org.yamcs.api.Observer<T>

public class ResponseObserver<T> extends Object implements org.yamcs.api.Observer<T>
An observer that completes a future based on a single response.
  • Constructor Details

  • Method Details

    • next

      public void next(T message)
      Specified by:
      next in interface org.yamcs.api.Observer<T>
    • completeExceptionally

      public void completeExceptionally(Throwable t)
      Specified by:
      completeExceptionally in interface org.yamcs.api.Observer<T>
    • complete

      public void complete()
      Specified by:
      complete in interface org.yamcs.api.Observer<T>