Class StreamArchiveApi

java.lang.Object
org.yamcs.protobuf.AbstractStreamArchiveApi<Context>
org.yamcs.http.api.StreamArchiveApi
All Implemented Interfaces:
org.yamcs.api.Api<Context>

public class StreamArchiveApi extends org.yamcs.protobuf.AbstractStreamArchiveApi<Context>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    exportParameterValues(Context ctx, org.yamcs.protobuf.Archive.ExportParameterValuesRequest request, org.yamcs.api.Observer<org.yamcs.api.HttpBody> observer)
     
    void
    getParameterSamples(Context ctx, org.yamcs.protobuf.Archive.GetParameterSamplesRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Pvalue.TimeSeries> observer)
     
    void
    listParameterGroups(Context ctx, org.yamcs.protobuf.Archive.ListParameterGroupsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Archive.ParameterGroupInfo> observer)
     
    void
    listParameterHistory(Context ctx, org.yamcs.protobuf.Archive.ListParameterHistoryRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Archive.ListParameterHistoryResponse> observer)
     
    void
    streamParameterValues(Context ctx, org.yamcs.protobuf.Archive.StreamParameterValuesRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Pvalue.ParameterData> observer)
     
    static org.yamcs.protobuf.Pvalue.ParameterValue
    toGpb(ParameterValueWithId pvalWithId, int maxBytes)
     
    static org.yamcs.protobuf.Pvalue.TimeSeries.Sample
     

    Methods inherited from class org.yamcs.protobuf.AbstractStreamArchiveApi

    callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StreamArchiveApi

      public StreamArchiveApi()
  • Method Details

    • listParameterGroups

      public void listParameterGroups(Context ctx, org.yamcs.protobuf.Archive.ListParameterGroupsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Archive.ParameterGroupInfo> observer)
      Specified by:
      listParameterGroups in class org.yamcs.protobuf.AbstractStreamArchiveApi<Context>
    • listParameterHistory

      public void listParameterHistory(Context ctx, org.yamcs.protobuf.Archive.ListParameterHistoryRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Archive.ListParameterHistoryResponse> observer)
      Specified by:
      listParameterHistory in class org.yamcs.protobuf.AbstractStreamArchiveApi<Context>
    • toGpb

      public static org.yamcs.protobuf.Pvalue.ParameterValue toGpb(ParameterValueWithId pvalWithId, int maxBytes)
    • getParameterSamples

      public void getParameterSamples(Context ctx, org.yamcs.protobuf.Archive.GetParameterSamplesRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Pvalue.TimeSeries> observer)
      Specified by:
      getParameterSamples in class org.yamcs.protobuf.AbstractStreamArchiveApi<Context>
    • streamParameterValues

      public void streamParameterValues(Context ctx, org.yamcs.protobuf.Archive.StreamParameterValuesRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Pvalue.ParameterData> observer)
      Specified by:
      streamParameterValues in class org.yamcs.protobuf.AbstractStreamArchiveApi<Context>
    • exportParameterValues

      public void exportParameterValues(Context ctx, org.yamcs.protobuf.Archive.ExportParameterValuesRequest request, org.yamcs.api.Observer<org.yamcs.api.HttpBody> observer)
      Specified by:
      exportParameterValues in class org.yamcs.protobuf.AbstractStreamArchiveApi<Context>
    • toGPBSample

      public static org.yamcs.protobuf.Pvalue.TimeSeries.Sample toGPBSample(Downsampler.Sample sample)