TransportOptions |
TransportOptions.addWebSocketHeader(java.lang.String key,
java.lang.String value) |
Additional headers to be passed along to the remote when performing a WebSocket based connect.
|
TransportOptions |
TransportOptions.allowNativeIO(boolean allowNativeIO) |
Determines if the a native IO implementation is preferred to the JDK based IO.
|
TransportOptions |
TransportOptions.clone() |
|
TransportOptions |
TransportOptions.connectTimeout(int connectTimeout) |
A transport layer connection timeout value that controls how long a connection attempt can block
before giving up and throwing a connection error.
|
TransportOptions |
TransportOptions.copyInto(TransportOptions other) |
|
TransportOptions |
TransportOptions.defaultTcpPort(int defaultTcpPort) |
The default unsecured connection port to use when none has been specified by the user.
|
TransportOptions |
TransportOptions.localAddress(java.lang.String localAddress) |
The local address to bind to when attempting a remote connection.
|
TransportOptions |
TransportOptions.localPort(int localPort) |
Configures the local port value to bind to when connecting to the remote, if that port is
already in use this can lead to a connection error.
|
TransportOptions |
TransportOptions.receiveBufferSize(int receiveBufferSize) |
Sets the receive buffer size in bytes, the value must be greater than zero
or an IllegalArgumentException will be thrown.
|
TransportOptions |
TransportOptions.sendBufferSize(int sendBufferSize) |
Sets the send buffer size in bytes, the value must be greater than zero
or an IllegalArgumentException will be thrown.
|
TransportOptions |
TransportOptions.soLinger(int soLinger) |
Configures the soLinger value that should be configured on the connection socket.
|
TransportOptions |
TransportOptions.soTimeout(int soTimeout) |
Sets the value to use when configuring the socket level soTimeout option.
|
TransportOptions |
TransportOptions.tcpKeepAlive(boolean keepAlive) |
Configures the TCP socket keep-alive value that should be used for a connection.
|
TransportOptions |
TransportOptions.tcpNoDelay(boolean tcpNoDelay) |
Configure the underlying connection to use the tcpNoDelay option.
|
TransportOptions |
TransportOptions.traceBytes(boolean traceBytes) |
Determines if the transport should add a logger for bytes in / out
|
TransportOptions |
TransportOptions.trafficClass(int trafficClass) |
Sets the traffic class value used by the TCP connection, valid
range is between 0 and 255.
|
TransportOptions |
ConnectionOptions.transportOptions() |
|
TransportOptions |
TransportOptions.useWebSockets(boolean webSockets) |
Set to true to configure the transport layer as a WebSocket based connection.
|
TransportOptions |
TransportOptions.webSocketMaxFrameSize(int maxFrameSize) |
Configures the maximum size of each WebSocket frame, payloads larger than the max frame size are
split into multiple frames during transmission.
|
TransportOptions |
TransportOptions.webSocketPath(java.lang.String webSocketPath) |
The optional path element to provide when connecting via a WebSocket.
|