public class TCPSTransport extends TCPTransport
_impl
Constructor and Description |
---|
TCPSTransport(Protocol msgType) |
TCPSTransport(Protocol protocol,
java.util.Properties properties) |
Modifier and Type | Method and Description |
---|---|
protected TCPSTransportImpl |
constructTransportImpl(Protocol protocol,
java.util.Properties 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, disconnect, flush, flush, getDefaultConnectTimeout, getDefaultReadTimeout, getVersion, handleCloseEvent, isDaemon, readQueueSize, send, sendWithoutRetry, setDaemon, setDefaultConnectTimeout, setDefaultReadTimeout, setDisconnectHandler, setExceptionListener, setIdleRunnable, setMessageHandler, setReadTimeout, setThreadCreatedHandler, setTransportFilter, socket, writeQueueSize
public TCPSTransport(Protocol protocol, java.util.Properties properties)
public TCPSTransport(Protocol msgType)
protected TCPSTransportImpl constructTransportImpl(Protocol protocol, java.util.Properties properties)
constructTransportImpl
in class TCPTransport
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()
setDefaultEnabledCipherSuites(java.lang.String[])
has not been called.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()
setDefaultEnabledProtocols(java.lang.String[])
has not been called.