Skip to content

Commit

Permalink
Merge pull request bitrich-info#449 from mdvx/patch-5
Browse files Browse the repository at this point in the history
[Kraken] Add support for Connection State
  • Loading branch information
badgerwithagun authored Nov 26, 2019
2 parents ef9c047 + f8a5f89 commit 8133322
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,17 @@ public Completable disconnect() {
public boolean isAlive() {
return streamingService.isSocketOpen();
}


@Override
public Observable<Object> connectionSuccess() {
return streamingService.subscribeConnectionSuccess();
}

@Override
public Observable<Throwable> reconnectFailure() {
return streamingService.subscribeReconnectFailure();
}

@Override
public SynchronizedValueFactory<Long> getNonceFactory() {
return nonceFactory;
Expand Down

0 comments on commit 8133322

Please sign in to comment.