Class TimeApi

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

public class TimeApi extends org.yamcs.protobuf.AbstractTimeApi<Context>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    getLeapSeconds(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.LeapSecondsTable> observer)
     
    void
    setTime(Context ctx, org.yamcs.protobuf.SetTimeRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
     
    void
    subscribeTime(Context ctx, org.yamcs.protobuf.SubscribeTimeRequest request, org.yamcs.api.Observer<com.google.protobuf.Timestamp> observer)
     

    Methods inherited from class org.yamcs.protobuf.AbstractTimeApi

    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

    • TimeApi

      public TimeApi()
  • Method Details

    • getLeapSeconds

      public void getLeapSeconds(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.LeapSecondsTable> observer)
      Specified by:
      getLeapSeconds in class org.yamcs.protobuf.AbstractTimeApi<Context>
    • setTime

      public void setTime(Context ctx, org.yamcs.protobuf.SetTimeRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
      Specified by:
      setTime in class org.yamcs.protobuf.AbstractTimeApi<Context>
    • subscribeTime

      public void subscribeTime(Context ctx, org.yamcs.protobuf.SubscribeTimeRequest request, org.yamcs.api.Observer<com.google.protobuf.Timestamp> observer)
      Specified by:
      subscribeTime in class org.yamcs.protobuf.AbstractTimeApi<Context>