public class ReactorConnectInfo
extends java.lang.Object
ReactorConnectOptions.| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears this object for reuse.
|
com.thomsonreuters.upa.transport.ConnectOptions |
connectOptions()
Returns the
ConnectOptions, which is the ConnectOptions
associated with the underlying
Transport.connect method. |
int |
copy(ReactorConnectInfo destInfo)
This method will perform a deep copy into the passed in parameter's
members from the ReactorConnectInfo calling this method.
|
boolean |
enableSessionManagement()
If true, the channel will get access token and refresh it
on behalf of users to keep session active.
|
void |
enableSessionManagement(boolean enableSessionManagement)
If set to true, enable to get access token and refresh it
on behalf of users to keep session active.
|
int |
initTimeout()
Returns the initialization timeout value.
|
int |
initTimeout(int timeout)
The amount of time (in seconds) to wait for the successful initialization
of a
ReactorChannel. |
java.lang.String |
location()
Specifies the location to get a service endpoint to establish a connection with service provider.
|
void |
location(java.lang.String location)
Specifies the location to get a service endpoint to establish a connection with service provider.
|
ReactorAuthTokenEventCallback |
reactorAuthTokenEventCallback()
A callback function for processing AuthTokenEvents received.
|
int |
reactorAuthTokenEventCallback(ReactorAuthTokenEventCallback callback)
Specifies a Callback function that receives ReactorAuthTokenEvents.
|
public com.thomsonreuters.upa.transport.ConnectOptions connectOptions()
ConnectOptions, which is the ConnectOptions
associated with the underlying
Transport.connect method. This includes information about the host or
network to connect to, the type of connection to use, and other transport
specific configuration information. This is described in more detail in
the UPA Developers Guide.ConnectOptionspublic int initTimeout(int timeout)
ReactorChannel. If initialization does not complete in time,
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()
public int copy(ReactorConnectInfo destInfo)
destInfo - the value getting populated with the values of the calling ReactorConnectInfoReactorReturnCodes.SUCCESS on success,
ReactorReturnCodes.FAILURE if the destInfo is null.public int reactorAuthTokenEventCallback(ReactorAuthTokenEventCallback callback)
callback - the auth token event callback.ReactorReturnCodes.SUCCESS if the callback is not
null, otherwise ReactorReturnCodes.PARAMETER_INVALID.ReactorAuthTokenEventCallback,
ReactorAuthTokenEventpublic ReactorAuthTokenEventCallback reactorAuthTokenEventCallback()
ReactorAuthTokenEventCallback,
ReactorAuthTokenEventpublic void enableSessionManagement(boolean enableSessionManagement)
enableSessionManagement - enables session managementpublic boolean enableSessionManagement()
public void location(java.lang.String location)
location - specifies the location endpointpublic java.lang.String location()
Copyright @ 2019 Thomson Reuters. All Rights Reserved.