Skip to content

Commit

Permalink
Merge branch 'develop' into patch-5
Browse files Browse the repository at this point in the history
  • Loading branch information
badgerwithagun authored Nov 26, 2019
2 parents 124972d + ef9c047 commit f8a5f89
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
</repositories>

<properties>
<xchange.version>4.4.0</xchange.version>
<xchange.version>4.4.1</xchange.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
Expand Down Expand Up @@ -115,7 +115,7 @@
<dependency>
<groupId>io.reactivex.rxjava2</groupId>
<artifactId>rxjava</artifactId>
<version>2.2.14</version>
<version>2.2.15</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import info.bitrich.xchangestream.core.StreamingMarketDataService;
import info.bitrich.xchangestream.service.netty.StreamingObjectMapperHelper;
import io.reactivex.Completable;
import io.reactivex.Observable;
import org.knowm.xchange.ExchangeSpecification;
import org.knowm.xchange.currency.Currency;
import org.knowm.xchange.currency.CurrencyPair;
Expand Down Expand Up @@ -93,4 +94,13 @@ public boolean isAlive() {

@Override
public void useCompressedMessages(boolean compressedMessages) { streamingService.useCompressedMessages(compressedMessages); }

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

0 comments on commit f8a5f89

Please sign in to comment.