Package com.daml.ledger.rxjava
Interface TimeClient
-
- All Known Implementing Classes:
TimeClientImpl
public interface TimeClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
setTime
io.reactivex.Single<com.google.protobuf.Empty> setTime(java.time.Instant currentTime, java.time.Instant newTime)
-
setTime
io.reactivex.Single<com.google.protobuf.Empty> setTime(java.time.Instant currentTime, java.time.Instant newTime, java.lang.String accessToken)
-
getTime
io.reactivex.Flowable<java.time.Instant> getTime()
-
getTime
io.reactivex.Flowable<java.time.Instant> getTime(java.lang.String accessToken)
-
-