public class TunnelStreamOpenOptions
extends java.lang.Object
| Constructor and Description |
|---|
TunnelStreamOpenOptions() |
| Modifier and Type | Method and Description |
|---|---|
LoginRequest |
authLoginRequest()
Returns the login request to send, if using authentication.
|
void |
authLoginRequest(LoginRequest loginRequest)
Sets the login request to send, if using authentication.
|
ClassOfService |
classOfService()
Returns the class of service of the TunnelStream.
|
void |
clear()
Clears the TunnelStreamOpenOptions for re-use.
|
TunnelStreamDefaultMsgCallback |
defaultMsgCallback()
The TunnelStreamDefaultMsgCallback of the TunnelStream.
|
void |
defaultMsgCallback(TunnelStreamDefaultMsgCallback callback)
The TunnelStreamDefaultMsgCallback of the TunnelStream.
|
int |
domainType()
Returns the domain type of the TunnelStream.
|
void |
domainType(int domainType)
Sets the domain type of the TunnelStream.
|
int |
guaranteedOutputBuffers()
Returns the number of guaranteed output buffers that will be available
for the tunnel stream.
|
int |
guaranteedOutputBuffers(int numBuffers)
Sets the number of guaranteed output buffers that will be available
for the tunnel stream.
|
java.lang.String |
name()
Returns the name of the TunnelStream.
|
void |
name(java.lang.String name)
Sets the name of the TunnelStream.
|
TunnelStreamQueueMsgCallback |
queueMsgCallback()
The QueueMsgCallback of the TunnelStream.
|
void |
queueMsgCallback(TunnelStreamQueueMsgCallback callback)
The QueueMsgCallback of the TunnelStream.
|
int |
responseTimeout()
Returns the response timeout value.
|
int |
responseTimeout(int timeout)
The amount of time (in seconds) to wait for a provider to respond to a
TunnelStream open request.
|
int |
serviceId()
Returns the service identifier of the TunnelStream.
|
void |
serviceId(int serviceId)
Sets the service identifier of the TunnelStream.
|
TunnelStreamStatusEventCallback |
statusEventCallback()
The TunnelStreamStatusEventCallback of the TunnelStream.
|
void |
statusEventCallback(TunnelStreamStatusEventCallback callback)
The TunnelStreamStatusEventCallback of the TunnelStream.
|
int |
streamId()
Returns the stream id of the TunnelStream.
|
void |
streamId(int streamId)
Sets the stream id of the TunnelStream.
|
java.lang.Object |
userSpecObject()
Returns the user specified object to be set on the TunnelStream.
|
void |
userSpecObject(java.lang.Object userSpecObject)
Sets a user specified object to be set on the TunnelStream.
|
public int domainType()
public void domainType(int domainType)
domainType - the domain typepublic int streamId()
public void streamId(int streamId)
streamId - the stream idpublic int serviceId()
public void serviceId(int serviceId)
serviceId - the service idpublic int responseTimeout(int timeout)
timeout - the response timeout in secondsReactorReturnCodes.SUCCESS if the timeout is valid,
otherwise ReactorReturnCodes.PARAMETER_OUT_OF_RANGE if
the timeout is out of rangepublic int responseTimeout()
public int guaranteedOutputBuffers(int numBuffers)
numBuffers - the number of guaranteed output buffersReactorReturnCodes.SUCCESS if the number of guaranteed
output buffers is valid, otherwise ReactorReturnCodes.PARAMETER_OUT_OF_RANGE
if the number of guaranteed output buffers is out of rangepublic int guaranteedOutputBuffers()
public void statusEventCallback(TunnelStreamStatusEventCallback callback)
callback - the callbackpublic TunnelStreamStatusEventCallback statusEventCallback()
public void defaultMsgCallback(TunnelStreamDefaultMsgCallback callback)
callback - the callbackpublic TunnelStreamDefaultMsgCallback defaultMsgCallback()
public void queueMsgCallback(TunnelStreamQueueMsgCallback callback)
callback - the callbackpublic TunnelStreamQueueMsgCallback queueMsgCallback()
public LoginRequest authLoginRequest()
public void authLoginRequest(LoginRequest loginRequest)
loginRequest - the login requestpublic java.lang.String name()
public void name(java.lang.String name)
name - the namepublic java.lang.Object userSpecObject()
public void userSpecObject(java.lang.Object userSpecObject)
userSpecObject - the user spec objectpublic ClassOfService classOfService()
ClassOfServicepublic void clear()
Copyright @ 2019 Thomson Reuters. All Rights Reserved.