org.apache.activemq.transport.xmpp
Class XmppTransportFactory
java.lang.Object
org.apache.activemq.transport.TransportFactory
org.apache.activemq.transport.tcp.TcpTransportFactory
org.apache.activemq.transport.xmpp.XmppTransportFactory
public class XmppTransportFactory
- extends TcpTransportFactory
- Version:
- $Revision: 467379 $
Method Summary |
Transport |
compositeConfigure(Transport transport,
WireFormat format,
java.util.Map options)
Similar to configure(...) but this avoid adding in the MutexTransport and ResponseCorrelator transport layers
so that the resulting transport can more efficiently be used as part of a composite transport. |
protected TcpTransport |
createTcpTransport(WireFormat wf,
javax.net.SocketFactory socketFactory,
java.net.URI location,
java.net.URI localLocation)
Allows subclasses of TcpTransportFactory to provide a create custom TcpTransport intances. |
protected TcpTransportServer |
createTcpTransportServer(java.net.URI location,
javax.net.ServerSocketFactory serverSocketFactory)
Allows subclasses of TcpTransportFactory to create custom instances of TcpTransportServer. |
protected java.lang.String |
getDefaultWireFormatType()
|
Methods inherited from class org.apache.activemq.transport.TransportFactory |
bind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, serverConfigure |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmppTransportFactory
public XmppTransportFactory()
getDefaultWireFormatType
protected java.lang.String getDefaultWireFormatType()
- Overrides:
getDefaultWireFormatType
in class TransportFactory
compositeConfigure
public Transport compositeConfigure(Transport transport,
WireFormat format,
java.util.Map options)
- Description copied from class:
TransportFactory
- Similar to configure(...) but this avoid adding in the MutexTransport and ResponseCorrelator transport layers
so that the resulting transport can more efficiently be used as part of a composite transport.
- Overrides:
compositeConfigure
in class TcpTransportFactory
- Returns:
createTcpTransport
protected TcpTransport createTcpTransport(WireFormat wf,
javax.net.SocketFactory socketFactory,
java.net.URI location,
java.net.URI localLocation)
throws java.io.IOException
- Description copied from class:
TcpTransportFactory
- Allows subclasses of TcpTransportFactory to provide a create custom TcpTransport intances.
- Overrides:
createTcpTransport
in class TcpTransportFactory
- Returns:
-
- Throws:
java.net.UnknownHostException
java.io.IOException
createTcpTransportServer
protected TcpTransportServer createTcpTransportServer(java.net.URI location,
javax.net.ServerSocketFactory serverSocketFactory)
throws java.io.IOException,
java.net.URISyntaxException
- Description copied from class:
TcpTransportFactory
- Allows subclasses of TcpTransportFactory to create custom instances of TcpTransportServer.
- Overrides:
createTcpTransportServer
in class TcpTransportFactory
- Returns:
-
- Throws:
java.io.IOException
java.net.URISyntaxException
Copyright © 2011 Apache Software Foundation. All Rights Reserved.