public class MeXBTExchangeStreamingConfiguration extends Object implements ExchangeStreamingConfiguration
| Constructor and Description |
|---|
MeXBTExchangeStreamingConfiguration(boolean subscribeTicker,
String[] inses)
Constructs a configuration.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getInses() |
int |
getMaxReconnectAttempts()
What are the maximum number of reconnect attempts?
|
int |
getReconnectWaitTimeInMs()
Before attempting reconnect, how much of a delay?
|
int |
getTimeoutInMs()
How much time should elapse before the connection is considered dead and a reconnect attempt should be made?
|
boolean |
isEncryptedChannel()
should it use an encrypted channel or not? (ws vs.
|
boolean |
isSubscribeTicker() |
boolean |
keepAlive()
should it keep the socket alive? (send ping every 15s)
|
public MeXBTExchangeStreamingConfiguration(boolean subscribeTicker,
String[] inses)
subscribeTicker - indicates to subscribe ticker.inses - indicates what ins should be subscribed in live trades and order book.public int getMaxReconnectAttempts()
getMaxReconnectAttempts in interface ExchangeStreamingConfigurationpublic int getReconnectWaitTimeInMs()
getReconnectWaitTimeInMs in interface ExchangeStreamingConfigurationpublic int getTimeoutInMs()
getTimeoutInMs in interface ExchangeStreamingConfigurationpublic boolean isEncryptedChannel()
isEncryptedChannel in interface ExchangeStreamingConfigurationpublic boolean keepAlive()
keepAlive in interface ExchangeStreamingConfigurationpublic boolean isSubscribeTicker()
public String[] getInses()
Copyright © 2012–2017 Xeiam, LLC. All rights reserved.