org.apache.activemq.transport.amqp
Class AmqpNioTransportFactory

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.amqp.AmqpNioTransportFactory
All Implemented Interfaces:
BrokerServiceAware
Direct Known Subclasses:
AmqpNioSslTransportFactory

public class AmqpNioTransportFactory
extends NIOTransportFactory
implements BrokerServiceAware

A AMQP over NIO transport factory


Constructor Summary
AmqpNioTransportFactory()
           
 
Method Summary
 Transport compositeConfigure(Transport transport, WireFormat format, java.util.Map options)
           
protected  TcpTransport createTcpTransport(WireFormat wf, javax.net.SocketFactory socketFactory, java.net.URI location, java.net.URI localLocation)
           
protected  TcpTransportServer createTcpTransportServer(java.net.URI location, javax.net.ServerSocketFactory serverSocketFactory)
           
protected  java.lang.String getDefaultWireFormatType()
           
protected  boolean isUseInactivityMonitor(Transport transport)
           
 Transport serverConfigure(Transport transport, WireFormat format, java.util.HashMap options)
           
 void setBrokerService(BrokerService brokerService)
           
 
Methods inherited from class org.apache.activemq.transport.nio.NIOTransportFactory
createServerSocketFactory, createSocketFactory
 
Methods inherited from class org.apache.activemq.transport.tcp.TcpTransportFactory
createInactivityMonitor, createTransport, doBind
 
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
 

Constructor Detail

AmqpNioTransportFactory

public AmqpNioTransportFactory()
Method Detail

getDefaultWireFormatType

protected java.lang.String getDefaultWireFormatType()
Overrides:
getDefaultWireFormatType in class TransportFactory

createTcpTransportServer

protected TcpTransportServer createTcpTransportServer(java.net.URI location,
                                                      javax.net.ServerSocketFactory serverSocketFactory)
                                               throws java.io.IOException,
                                                      java.net.URISyntaxException
Overrides:
createTcpTransportServer in class NIOTransportFactory
Throws:
java.io.IOException
java.net.URISyntaxException

createTcpTransport

protected TcpTransport createTcpTransport(WireFormat wf,
                                          javax.net.SocketFactory socketFactory,
                                          java.net.URI location,
                                          java.net.URI localLocation)
                                   throws java.net.UnknownHostException,
                                          java.io.IOException
Overrides:
createTcpTransport in class NIOTransportFactory
Throws:
java.net.UnknownHostException
java.io.IOException

serverConfigure

public Transport serverConfigure(Transport transport,
                                 WireFormat format,
                                 java.util.HashMap options)
                          throws java.lang.Exception
Overrides:
serverConfigure in class TransportFactory
Throws:
java.lang.Exception

compositeConfigure

public Transport compositeConfigure(Transport transport,
                                    WireFormat format,
                                    java.util.Map options)
Overrides:
compositeConfigure in class TcpTransportFactory

setBrokerService

public void setBrokerService(BrokerService brokerService)
Specified by:
setBrokerService in interface BrokerServiceAware

isUseInactivityMonitor

protected boolean isUseInactivityMonitor(Transport transport)
Overrides:
isUseInactivityMonitor in class TcpTransportFactory


Copyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.