Class SleApiClient

java.lang.Object
org.yamcs.sle.api.AbstractSleApi<Void>
org.yamcs.sle.api.SleApiClient
All Implemented Interfaces:
Api<Void>

@Generated(value="org.yamcs.maven.ServiceGenerator", date="2026-02-25T11:15:10.527043370Z") public class SleApiClient extends AbstractSleApi<Void>
  • Constructor Details

  • Method Details

    • requestOfflineData

      public final void requestOfflineData(Void ctx, RequestOfflineDataRequest request, Observer<com.google.protobuf.Empty> observer)
        Request offline data.
       
        This request can be used to obtain offline data from an SLE provider. The
        link has to be of type ``org.yamcs.sle.OfflineTmSleLink``.
       
        ``start`` and ``stop`` are passed as parameters to the RAF-START SLE
        request. The SLE provider will deliver all frames having their Earth
        Reception Time (ERT) in the [start, stop] time interval, both ends are
        inclusive. SLE requires that start is strictly smaller than stop so
        ``start=stop`` is not accepted.
       
        The time passed via API is at nanosecond resolution whereas the time passed
        in the RAF-START SLE request is at microsecond or picosecond resolution
        (depending on the SLE version used).
       
       
        .. rubric:: Leap seconds
       
        Time passed via the API is according to
        the `Timestamp <https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp>`_
        protobuf message and is passed *unsmeared* to the SLE request. This is
        different from the normal requests to Yamcs where the time is transformed
        into internal Yamcs time (but at millisecond resolution!) by performing
        reverse smearing around the leap seconds.
       
        This means that it is not possible to specify a retrieval that starts or
        stops on a leap second. For example ``2016-12-31T23:59:60Z`` will be
        effectively translated into ``2017-01-01T00:00:00Z``.
       
      Specified by:
      requestOfflineData in class AbstractSleApi<Void>
    • cltuThrowEvent

      public final void cltuThrowEvent(Void ctx, CltuThrowEventRequest request, Observer<CltuThrowEventResponse> observer)
        Invoke a CLTU Throw Event.
       
        The link has to be of type ``org.yamcs.sle.OfflineTmSleLink``.
       
      Specified by:
      cltuThrowEvent in class AbstractSleApi<Void>
    • getParameter

      public final void getParameter(Void ctx, GetParameterRequest request, Observer<GetParameterResponse> observer)
        Invoke a SLE Get Parameter.
       
        Can be used for all SLE links but some parameters make sense only for certain links.
       
      Specified by:
      getParameter in class AbstractSleApi<Void>