public class ReactorConnectOptions
extends java.lang.Object
Reactor.connect(ReactorConnectOptions,
ReactorRole, ReactorErrorInfo) call.| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears this object for reuse.
|
java.util.List<ReactorConnectInfo> |
connectionList()
A list of connections.
|
int |
copy(ReactorConnectOptions destOpts)
This method will perform a deep copy into the passed in parameter's
members from the Object calling this method.
|
int |
reconnectAttemptLimit()
Returns the reconnectAttemptLimit value.
|
int |
reconnectAttemptLimit(int limit)
The maximum number of times the Reactor will attempt to
reconnect a channel.
|
int |
reconnectMaxDelay()
Returns the reconnectMaxDelay value.
|
int |
reconnectMaxDelay(int delay)
The maximum time the Reactor will wait before attempting
to reconnect, in milliseconds.
|
int |
reconnectMinDelay()
Returns the reconnectMinDelay value.
|
int |
reconnectMinDelay(int delay)
The minimum time the Reactor will wait before attempting
to reconnect, in milliseconds.
|
public java.util.List<ReactorConnectInfo> connectionList()
public int reconnectAttemptLimit()
public int reconnectAttemptLimit(int limit)
limit - the maximum number of reconnect attemptsReactorReturnCodes.SUCCESS if the limit is valid,
otherwise ReactorReturnCodes.PARAMETER_OUT_OF_RANGE if
the limit is out of rangepublic int reconnectMinDelay()
public int reconnectMinDelay(int delay)
delay - the minimum reconnect delayReactorReturnCodes.SUCCESS if the delay is valid,
otherwise ReactorReturnCodes.PARAMETER_OUT_OF_RANGE if
the delay is less than zeropublic int reconnectMaxDelay()
public int reconnectMaxDelay(int delay)
delay - the maximum reconnect delayReactorReturnCodes.SUCCESS if the delay is valid,
otherwise ReactorReturnCodes.PARAMETER_OUT_OF_RANGE if
the delay is less than zeropublic void clear()
public int copy(ReactorConnectOptions destOpts)
destOpts - the value getting populated with the values of the calling ObjectReactorReturnCodes.SUCCESS on success,
ReactorReturnCodes.FAILURE if the destOpts is null.Copyright @ 2019 Thomson Reuters. All Rights Reserved.