org.apache.activemq.transport.stomp
Class StompNIOTransportFactory

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
All Implemented Interfaces:
BrokerServiceAware
Direct Known Subclasses:
StompNIOSSLTransportFactory

public class StompNIOTransportFactory
extends NIOTransportFactory
implements BrokerServiceAware

A STOMP over NIO transport factory


Constructor Summary
StompNIOTransportFactory()
           
 
Method Summary
 Transport compositeConfigure(Transport transport, WireFormat format, java.util.Map options)
           
protected  Transport createInactivityMonitor(Transport transport, WireFormat format)
           
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()
           
 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
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, getOption, registerTransportFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StompNIOTransportFactory

public StompNIOTransportFactory()
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

createInactivityMonitor

protected Transport createInactivityMonitor(Transport transport,
                                            WireFormat format)
Overrides:
createInactivityMonitor in class TcpTransportFactory


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