public class TimeSubscription extends AbstractSubscription<SubscribeTimeRequest,com.google.protobuf.Timestamp>
clientObserver| Modifier | Constructor and Description |
|---|---|
protected |
TimeSubscription(MethodHandler methodHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(TimeListener listener) |
Instant |
getCurrent()
Returns the value of the latest received timestamp.
|
void |
removeListener(TimeListener listener) |
addMessageListener, cancel, get, get, isCancelled, isDone, sendMessageprotected TimeSubscription(MethodHandler methodHandler)
public void addListener(TimeListener listener)
public void removeListener(TimeListener listener)
public Instant getCurrent()
Copyright © 2020 Space Applications Services. All rights reserved.