public interface ExchangeStreamingConfiguration
Signature interface to provide the following to exchange services:
Often it is necessary for additional configuration to be applied to the exchange data feeds after the initial creation with ExchangeSpecification has completed. This is the mechanism to achieve this.
Modifier and Type | Method and Description |
---|---|
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 |
keepAlive()
should it keep the socket alive? (send ping every 15s)
|
int getMaxReconnectAttempts()
int getReconnectWaitTimeInMs()
int getTimeoutInMs()
boolean isEncryptedChannel()
boolean keepAlive()
Copyright © 2012–2018 Xeiam, LLC. All rights reserved.