Class CallObserver

java.lang.Object
org.yamcs.http.CallObserver
All Implemented Interfaces:
Observer<com.google.protobuf.Message>

public class CallObserver extends Object implements Observer<com.google.protobuf.Message>
Observes the state of a single RPC call where both request and response are non-streaming.
  • Constructor Details

  • Method Details

    • next

      public void next(com.google.protobuf.Message message)
      Description copied from interface: Observer
      Emit the next message.
      Specified by:
      next in interface Observer<com.google.protobuf.Message>
    • completeExceptionally

      public void completeExceptionally(Throwable t)
      Description copied from interface: Observer
      Complete with an exception.
      Specified by:
      completeExceptionally in interface Observer<com.google.protobuf.Message>
    • complete

      public void complete()
      Description copied from interface: Observer
      Mark the successful end.
      Specified by:
      complete in interface Observer<com.google.protobuf.Message>