Package org.yamcs.http.api
Class TimeApi
- java.lang.Object
-
- org.yamcs.protobuf.AbstractTimeApi<Context>
-
- org.yamcs.http.api.TimeApi
-
-
Constructor Summary
Constructors Constructor Description TimeApi()
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
getLeapSeconds
public void getLeapSeconds(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.LeapSecondsTable> observer)
- Specified by:
getLeapSeconds
in classorg.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 classorg.yamcs.protobuf.AbstractTimeApi<Context>
-
-