public abstract class AbstractTimeApi<T> extends Object implements Api<T>
| Constructor and Description |
|---|
AbstractTimeApi() |
| Modifier and Type | Method and Description |
|---|---|
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
T ctx,
com.google.protobuf.Message request,
Observer<com.google.protobuf.Message> future) |
Observer<com.google.protobuf.Message> |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
T ctx,
Observer<com.google.protobuf.Message> future) |
com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
abstract void |
getLeapSeconds(T ctx,
com.google.protobuf.Empty request,
Observer<LeapSecondsTable> observer)
Get UTC leap seconds
|
com.google.protobuf.Message |
getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
com.google.protobuf.Message |
getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
abstract void |
setTime(T ctx,
SetTimeRequest request,
Observer<com.google.protobuf.Empty> observer)
Set (simulation) time of an instance
|
abstract void |
subscribeTime(T ctx,
SubscribeTimeRequest request,
Observer<com.google.protobuf.Timestamp> observer)
Receive time updates
|
public abstract void getLeapSeconds(T ctx, com.google.protobuf.Empty request, Observer<LeapSecondsTable> observer)
Get UTC leap seconds
public abstract void setTime(T ctx, SetTimeRequest request, Observer<com.google.protobuf.Empty> observer)
Set (simulation) time of an instance
public abstract void subscribeTime(T ctx, SubscribeTimeRequest request, Observer<com.google.protobuf.Timestamp> observer)
Receive time updates
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType in interface Api<T>public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype in interface Api<T>public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype in interface Api<T>public final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
T ctx,
com.google.protobuf.Message request,
Observer<com.google.protobuf.Message> future)
callMethod in interface Api<T>Copyright © 2020 Space Applications Services. All rights reserved.