org.apache.activemq.transport.stomp
Class StompNIOSSLTransportFactory

java.lang.Object
  extended by org.apache.activemq.transport.TransportFactory
      extended by org.apache.activemq.transport.tcp.TcpTransportFactory
          extended by org.apache.activemq.transport.nio.NIOTransportFactory
              extended by org.apache.activemq.transport.stomp.StompNIOTransportFactory
                  extended by org.apache.activemq.transport.stomp.StompNIOSSLTransportFactory
All Implemented Interfaces:
BrokerServiceAware

public class StompNIOSSLTransportFactory
extends StompNIOTransportFactory


Field Summary
protected  SSLContext context
           
 
Constructor Summary
StompNIOSSLTransportFactory()
           
 
Method Summary
protected  TcpTransport createTcpTransport(WireFormat wf, SocketFactory socketFactory, URI location, URI localLocation)
          Allows subclasses of TcpTransportFactory to provide a create custom TcpTransport intances.
protected  TcpTransportServer createTcpTransportServer(URI location, ServerSocketFactory serverSocketFactory)
          Allows subclasses of TcpTransportFactory to create custom instances of TcpTransportServer.
 TransportServer doBind(URI location)
           
 
Methods inherited from class org.apache.activemq.transport.stomp.StompNIOTransportFactory
compositeConfigure, createInactivityMonitor, getDefaultWireFormatType, serverConfigure, setBrokerService
 
Methods inherited from class org.apache.activemq.transport.nio.NIOTransportFactory
createServerSocketFactory, createSocketFactory
 
Methods inherited from class org.apache.activemq.transport.tcp.TcpTransportFactory
createTransport, isUseInactivityMonitor
 
Methods inherited from class org.apache.activemq.transport.TransportFactory
bind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, findTransportFactory, getOption, registerTransportFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected SSLContext context
Constructor Detail

StompNIOSSLTransportFactory

public StompNIOSSLTransportFactory()
Method Detail

createTcpTransportServer

protected TcpTransportServer createTcpTransportServer(URI location,
                                                      ServerSocketFactory serverSocketFactory)
                                               throws IOException,
                                                      URISyntaxException
Description copied from class: TcpTransportFactory
Allows subclasses of TcpTransportFactory to create custom instances of TcpTransportServer.

Overrides:
createTcpTransportServer in class StompNIOTransportFactory
Returns:
Throws:
IOException
URISyntaxException

createTcpTransport

protected TcpTransport createTcpTransport(WireFormat wf,
                                          SocketFactory socketFactory,
                                          URI location,
                                          URI localLocation)
                                   throws UnknownHostException,
                                          IOException
Description copied from class: TcpTransportFactory
Allows subclasses of TcpTransportFactory to provide a create custom TcpTransport intances.

Overrides:
createTcpTransport in class StompNIOTransportFactory
Returns:
Throws:
UnknownHostException
IOException

doBind

public TransportServer doBind(URI location)
                       throws IOException
Overrides:
doBind in class TcpTransportFactory
Throws:
IOException


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.