public final class TimeClientImpl extends java.lang.Object implements TimeClient
Constructor and Description |
---|
TimeClientImpl(java.lang.String ledgerId,
io.grpc.Channel channel,
com.daml.grpc.adapter.ExecutionSequencerFactory sequencerFactory,
java.util.Optional<java.lang.String> accessToken) |
Modifier and Type | Method and Description |
---|---|
io.reactivex.Flowable<java.time.Instant> |
getTime() |
io.reactivex.Flowable<java.time.Instant> |
getTime(java.lang.String accessToken) |
io.reactivex.Single<com.google.protobuf.Empty> |
setTime(java.time.Instant currentTime,
java.time.Instant newTime) |
io.reactivex.Single<com.google.protobuf.Empty> |
setTime(java.time.Instant currentTime,
java.time.Instant newTime,
java.lang.String accessToken) |
public TimeClientImpl(java.lang.String ledgerId, io.grpc.Channel channel, com.daml.grpc.adapter.ExecutionSequencerFactory sequencerFactory, java.util.Optional<java.lang.String> accessToken)
public io.reactivex.Single<com.google.protobuf.Empty> setTime(java.time.Instant currentTime, java.time.Instant newTime)
setTime
in interface TimeClient
public io.reactivex.Single<com.google.protobuf.Empty> setTime(java.time.Instant currentTime, java.time.Instant newTime, java.lang.String accessToken)
setTime
in interface TimeClient
public io.reactivex.Flowable<java.time.Instant> getTime()
getTime
in interface TimeClient
public io.reactivex.Flowable<java.time.Instant> getTime(java.lang.String accessToken)
getTime
in interface TimeClient