org.fusesource.stompjms.client.transport
Class SslTransportServer
java.lang.Object
org.fusesource.stompjms.client.transport.TcpTransportServer
org.fusesource.stompjms.client.transport.SslTransportServer
- All Implemented Interfaces:
- TransportServer
public class SslTransportServer
- extends TcpTransportServer
- Author:
- Hiram Chirino
| Methods inherited from class org.fusesource.stompjms.client.transport.TcpTransportServer |
getBacklog, getBoundAddress, getConnectAddress, getDispatchQueue, getReceive_buffer_size, getSocketAddress, handleSocket, resolveHostName, resume, setAcceptListener, setBacklog, setDispatchQueue, setReceive_buffer_size, setTransportOption, start, stop, stop, suspend, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
keyManagers
protected javax.net.ssl.KeyManager[] keyManagers
protocol
protected java.lang.String protocol
sslContext
protected javax.net.ssl.SSLContext sslContext
blockingExecutor
protected java.util.concurrent.Executor blockingExecutor
SslTransportServer
public SslTransportServer(java.net.URI location)
throws java.net.UnknownHostException
- Throws:
java.net.UnknownHostException
createTransportServer
public static SslTransportServer createTransportServer(java.net.URI uri)
throws java.lang.Exception
- Throws:
java.lang.Exception
setKeyManagers
public void setKeyManagers(javax.net.ssl.KeyManager[] keyManagers)
setTrustManagers
public void setTrustManagers(javax.net.ssl.TrustManager[] trustManagers)
start
public void start(java.lang.Runnable onCompleted)
throws java.lang.Exception
- Description copied from interface:
TransportServer
- Starts the service. Executes the onComplete runnable once the service has fully started up.
- Specified by:
start in interface TransportServer- Overrides:
start in class TcpTransportServer
- Parameters:
onCompleted - my be set to null if not interested in a callback.
- Throws:
java.lang.Exception
createTransport
protected TcpTransport createTransport()
- Overrides:
createTransport in class TcpTransportServer
protocol
protected SslTransportServer protocol(java.lang.String value)
getSSLContext
public javax.net.ssl.SSLContext getSSLContext()
setSSLContext
public void setSSLContext(javax.net.ssl.SSLContext sslContext)
Copyright © 2010-2011 FuseSource, Corp.. All Rights Reserved.