|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.transport.TransportFactory
org.apache.activemq.transport.tcp.TcpTransportFactory
public class TcpTransportFactory
Constructor Summary | |
---|---|
TcpTransportFactory()
|
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 javax.net.ServerSocketFactory |
createServerSocketFactory()
|
protected javax.net.SocketFactory |
createSocketFactory()
|
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 Transport |
createTransport(java.net.URI location,
WireFormat wf)
Factory method to create a new transport |
TransportServer |
doBind(java.net.URI location)
|
protected boolean |
isUseInactivityMonitor(Transport transport)
Returns true if the inactivity monitor should be used on the transport |
Methods inherited from class org.apache.activemq.transport.TransportFactory |
---|
bind, bind, bind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, getDefaultWireFormatType, getOption, registerTransportFactory, serverConfigure |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TcpTransportFactory()
Method Detail |
---|
public TransportServer doBind(java.net.URI location) throws java.io.IOException
doBind
in class TransportFactory
java.io.IOException
protected TcpTransportServer createTcpTransportServer(java.net.URI location, javax.net.ServerSocketFactory serverSocketFactory) throws java.io.IOException, java.net.URISyntaxException
location
- serverSocketFactory
-
java.io.IOException
java.net.URISyntaxException
public Transport compositeConfigure(Transport transport, WireFormat format, java.util.Map options)
TransportFactory
compositeConfigure
in class TransportFactory
protected boolean isUseInactivityMonitor(Transport transport)
protected Transport createTransport(java.net.URI location, WireFormat wf) throws java.net.UnknownHostException, java.io.IOException
TransportFactory
createTransport
in class TransportFactory
java.net.UnknownHostException
java.io.IOException
protected TcpTransport createTcpTransport(WireFormat wf, javax.net.SocketFactory socketFactory, java.net.URI location, java.net.URI localLocation) throws java.net.UnknownHostException, java.io.IOException
location
- wf
- socketFactory
- localLocation
-
java.net.UnknownHostException
java.io.IOException
protected javax.net.ServerSocketFactory createServerSocketFactory() throws java.io.IOException
java.io.IOException
protected javax.net.SocketFactory createSocketFactory() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |