org.apache.activemq.transport.nio
Class NIOTransportFactory

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
Direct Known Subclasses:
AmqpNioTransportFactory, MQTTNIOTransportFactory, NIOSSLTransportFactory, StompNIOTransportFactory

public class NIOTransportFactory
extends TcpTransportFactory


Constructor Summary
NIOTransportFactory()
           
 
Method Summary
protected  ServerSocketFactory createServerSocketFactory()
           
protected  SocketFactory createSocketFactory()
           
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.
 
Methods inherited from class org.apache.activemq.transport.tcp.TcpTransportFactory
compositeConfigure, createInactivityMonitor, createTransport, doBind, isUseInactivityMonitor
 
Methods inherited from class org.apache.activemq.transport.TransportFactory
bind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, findTransportFactory, getDefaultWireFormatType, getOption, registerTransportFactory, serverConfigure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NIOTransportFactory

public NIOTransportFactory()
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 TcpTransportFactory
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 TcpTransportFactory
Returns:
Throws:
UnknownHostException
IOException

createServerSocketFactory

protected ServerSocketFactory createServerSocketFactory()
Overrides:
createServerSocketFactory in class TcpTransportFactory

createSocketFactory

protected SocketFactory createSocketFactory()
                                     throws IOException
Overrides:
createSocketFactory in class TcpTransportFactory
Throws:
IOException


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.