|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lightstreamer.ls_proxy.ProxyInfo
public class ProxyInfo
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 | |
---|---|
java.lang.Object |
clone()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int bwMonitorTimeoutMillis
public int connectionTimeoutMillis
ConnectionInfo.enableStreamSense
)
the timeout set should be far greater than
ConnectionInfo.streamingTimeoutMillis
,
otherwise the connection would be refused before the Stream-sense
has had a chance to recover it.
public boolean onFailedConnectionRetry
public long connectionRetryTimeoutMillis
ConnectionInfo.enableStreamSense
)
the timeout set should be far greater than
ConnectionInfo.streamingTimeoutMillis
,
otherwise a reconnection attempt would be abandoned before the
Stream-sense has had a chance to recover it.
Constructor Detail |
---|
public ProxyInfo()
Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |