Class HitbtcStreamingExchange
java.lang.Object
org.knowm.xchange.BaseExchange
org.knowm.xchange.hitbtc.v2.HitbtcExchange
info.bitrich.xchangestream.hitbtc.HitbtcStreamingExchange
- All Implemented Interfaces:
StreamingExchange,org.knowm.xchange.Exchange
Created by Pavel Chertalev on 15.03.2018.
-
Field Summary
Fields inherited from class org.knowm.xchange.BaseExchange
accountService, exchangeMetaData, exchangeSpecification, logger, marketDataService, tradeServiceFields inherited from interface org.knowm.xchange.Exchange
USE_SANDBOXFields inherited from interface info.bitrich.xchangestream.core.StreamingExchange
ACCEPT_ALL_CERITICATES, AUTO_RECONNECT, ENABLE_LOGGING_HANDLER, L3_ORDERBOOK, SOCKS_PROXY_HOST, SOCKS_PROXY_PORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.Completableconnect(ProductSubscription... args) io.reactivex.Observable<ConnectionStateModel.State>io.reactivex.Observable<Object>io.reactivex.Completableorg.knowm.xchange.ExchangeSpecificationprotected voidbooleanisAlive()io.reactivex.Observable<Throwable>voiduseCompressedMessages(boolean compressedMessages) Methods inherited from class org.knowm.xchange.hitbtc.v2.HitbtcExchange
loadExchangeMetaData, remoteInitMethods inherited from class org.knowm.xchange.BaseExchange
applySpecification, getAccountService, getExchangeInstruments, getExchangeMetaData, getExchangeSpecification, getMarketDataService, getMetaDataFileName, getNonceFactory, getTradeService, loadMetaData, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.knowm.xchange.Exchange
applySpecification, getAccountService, getExchangeInstruments, getExchangeMetaData, getExchangeSpecification, getMarketDataService, getNonceFactory, getResilienceRegistries, getTradeService, remoteInitMethods inherited from interface info.bitrich.xchangestream.core.StreamingExchange
applyStreamingSpecification, connectionIdle, disconnectObservable, getStreamingAccountService, getStreamingTradeService, messageDelay, resubscribeChannels
-
Constructor Details
-
HitbtcStreamingExchange
public HitbtcStreamingExchange()
-
-
Method Details
-
initServices
protected void initServices()- Overrides:
initServicesin classHitbtcExchange
-
connect
- Specified by:
connectin interfaceStreamingExchange
-
disconnect
public io.reactivex.Completable disconnect()- Specified by:
disconnectin interfaceStreamingExchange
-
isAlive
public boolean isAlive()- Specified by:
isAlivein interfaceStreamingExchange
-
reconnectFailure
- Specified by:
reconnectFailurein interfaceStreamingExchange
-
connectionSuccess
- Specified by:
connectionSuccessin interfaceStreamingExchange
-
connectionStateObservable
- Specified by:
connectionStateObservablein interfaceStreamingExchange
-
getDefaultExchangeSpecification
public org.knowm.xchange.ExchangeSpecification getDefaultExchangeSpecification()- Specified by:
getDefaultExchangeSpecificationin interfaceorg.knowm.xchange.Exchange- Overrides:
getDefaultExchangeSpecificationin classHitbtcExchange
-
getStreamingMarketDataService
- Specified by:
getStreamingMarketDataServicein interfaceStreamingExchange
-
useCompressedMessages
public void useCompressedMessages(boolean compressedMessages) - Specified by:
useCompressedMessagesin interfaceStreamingExchange
-