public class ReactorAcceptOptions
extends java.lang.Object
Reactor.accept(com.thomsonreuters.upa.transport.Server,
ReactorAcceptOptions, ReactorRole, ReactorErrorInfo) call.| Modifier and Type | Method and Description |
|---|---|
com.thomsonreuters.upa.transport.AcceptOptions |
acceptOptions()
Returns the
AcceptOptions, which is the AcceptOptions associated
with the underlying Reactor#accept(Server, ReactorConnectOptions,
ReactorRole, ReactorErrorInfo)} method. |
void |
clear()
Clears this object for reuse.
|
int |
initTimeout()
Returns the initialization timeout value.
|
int |
initTimeout(int timeout)
The amount of time (in seconds) to wait for the successful connection
establishment of a
ReactorChannel. |
public com.thomsonreuters.upa.transport.AcceptOptions acceptOptions()
AcceptOptions, which is the AcceptOptions associated
with the underlying Reactor#accept(Server, ReactorConnectOptions,
ReactorRole, ReactorErrorInfo)} method. This includes an option to reject
the connection as well as a userSpecObj. This is described in more detail
in the UPA Developers Guide.public int initTimeout(int timeout)
ReactorChannel. If a timeout occurs, an event
is dispatched to the application to indicate that the ReactorChannel is
down. Timeout must be greater than zero. Default is 60 seconds.timeout - the initialization timeout in secondsReactorReturnCodes.SUCCESS if the timeout is valid,
otherwise ReactorReturnCodes.PARAMETER_OUT_OF_RANGE if
the timeout is out of rangepublic int initTimeout()
public void clear()
Copyright @ 2019 Thomson Reuters. All Rights Reserved.