public class TCPSTransport extends TCPTransport
tcps://.
Use the methods on this class to customize SSL settings prior to connecting._impl| Constructor and Description |
|---|
TCPSTransport(Protocol msgType) |
TCPSTransport(Protocol protocol,
java.util.Properties properties) |
TCPSTransport(Protocol msgType,
TCPSTransportImpl impl) |
| Modifier and Type | Method and Description |
|---|---|
protected TCPSTransportImpl |
constructTransportImpl(Protocol protocol,
java.util.Properties properties)
Constructs a new TCPTransport instance with the specified protocol and properties.
|
static java.lang.String[] |
getDefaultEnabledCipherSuites()
Returns the cipher suites that will be enabled on SSLSockets.
|
static java.lang.String[] |
getDefaultEnabledProtocols()
Returns the protocols that will be enabled on SSLSockets.
|
static javax.net.ssl.SSLContext |
getDefaultSSLContext()
Returns the SSL context that will be used for connecting.
|
static void |
setDefaultEnabledCipherSuites(java.lang.String[] suites)
Sets the cipher suites that will be enabled on SSLSockets.
|
static void |
setDefaultEnabledProtocols(java.lang.String[] protocols)
Sets the protocols that will be enabled on SSLSockets.
|
static void |
setDefaultSSLContext(javax.net.ssl.SSLContext sslContext)
Sets the default SSL Context used for new connections.
|
allocateMessage, close, connect, createTransport, createTransport, disconnect, flush, flush, getDefaultConnectTimeout, getDefaultReadTimeout, getIdleRunnable, getVersion, handleCloseEvent, initFromClient, isDaemon, readQueueSize, send, sendWithoutRetry, setDaemon, setDefaultConnectTimeout, setDefaultReadTimeout, setDisconnectHandler, setExceptionListener, setIdleRunnable, setMessageHandler, setReadTimeout, setThreadCreatedHandler, setTransportFilter, socket, writeQueueSizepublic TCPSTransport(Protocol protocol, java.util.Properties properties)
public TCPSTransport(Protocol msgType)
public TCPSTransport(Protocol msgType, TCPSTransportImpl impl)
protected TCPSTransportImpl constructTransportImpl(Protocol protocol, java.util.Properties properties)
TCPTransportconstructTransportImpl in class TCPTransportprotocol - The protocol used by the transport.properties - The properties to configure the transport.public static void setDefaultSSLContext(javax.net.ssl.SSLContext sslContext)
sslContext - The default SSL context object. This context
must be initialized before calling.public static javax.net.ssl.SSLContext getDefaultSSLContext()
throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmException - Propagates this exception when it is thrown by an attempt to get the default SSLContext.public static void setDefaultEnabledCipherSuites(java.lang.String[] suites)
SSLSocket.setEnabledCipherSuites(java.lang.String[]) whenever a
socket is created.suites - The cipher suites to enable for new sockets.public static java.lang.String[] getDefaultEnabledCipherSuites()
null if
setDefaultEnabledCipherSuites(java.lang.String[]) has not been called.null if the virtual machine's defaults will be used.public static void setDefaultEnabledProtocols(java.lang.String[] protocols)
SSLSocket.setEnabledProtocols(java.lang.String[]) whenever a
socket is created.protocols - The protocols to enable for new sockets.public static java.lang.String[] getDefaultEnabledProtocols()
null if
setDefaultEnabledProtocols(java.lang.String[]) has not been called.null if the virtual machine's defaults will be used.