com.lightstreamer.ls_proxy
Class ProxyInfo

java.lang.Object
  extended by com.lightstreamer.ls_proxy.ProxyInfo

public class ProxyInfo
extends java.lang.Object

Carries informations about the policies to be applied in Lightstreamer Server connection management. Default values for all parameters are set.


Field Summary
 int bwMonitorTimeoutMillis
          The time in milliseconds between consecutive samplings of the connection state.
 long connectionRetryTimeoutMillis
          The time to wait between subsequent reconnection attempts.
 int connectionTimeoutMillis
          The maximum elapsed time in milliseconds allowed for a successful connection attempt.
 boolean onFailedConnectionRetry
          The specification of the automatic recovery action to try in case of asynchronous connection failure.
 
Constructor Summary
ProxyInfo()
          Creates a policy settings bean object with default settings specified.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bwMonitorTimeoutMillis

public int bwMonitorTimeoutMillis
The time in milliseconds between consecutive samplings of the connection state.
The default setting is 2000 (2 seconds).


connectionTimeoutMillis

public int connectionTimeoutMillis
The maximum elapsed time in milliseconds allowed for a successful connection attempt.
The default setting is 30000 (30 seconds).


onFailedConnectionRetry

public boolean onFailedConnectionRetry
The specification of the automatic recovery action to try in case of asynchronous connection failure. If true, reconnection attempt will be performed.
The default setting is false.


connectionRetryTimeoutMillis

public long connectionRetryTimeoutMillis
The time to wait between subsequent reconnection attempts. Unsuccessful reconnection attempts will stop as soon as a successful connection or disconnection is performed in another thread. A zero or negative value means that only one reconnection attempt has to be performed.
The default setting is 0.

Constructor Detail

ProxyInfo

public ProxyInfo()
Creates a policy settings bean object with default settings specified.