Interface DataObserver<T extends com.google.protobuf.Message>

All Superinterfaces:
org.yamcs.api.Observer<T>

public interface DataObserver<T extends com.google.protobuf.Message> extends org.yamcs.api.Observer<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the server has confirmed this call.
     
    default void
    unpackNext(com.google.protobuf.Any data)
     

    Methods inherited from interface org.yamcs.api.Observer

    complete, complete, completeExceptionally, isCancelled, next, setCancelHandler
  • Method Details

    • getMessageClass

      Class<T> getMessageClass()
    • unpackNext

      default void unpackNext(com.google.protobuf.Any data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • confirm

      void confirm()
      Called when the server has confirmed this call.