Class UdpTransportFactory
- java.lang.Object
-
- org.apache.activemq.transport.TransportFactory
-
- org.apache.activemq.transport.udp.UdpTransportFactory
-
- Direct Known Subclasses:
MulticastTransportFactory
@Deprecated public class UdpTransportFactory extends TransportFactory
Deprecated.- Author:
- David Martin Clavo david(dot)martin(dot)clavo(at)gmail.com (logging improvement modifications)
-
-
Constructor Summary
Constructors Constructor Description UdpTransportFactory()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected OpenWireFormatasOpenWireFormat(WireFormat wf)Deprecated.TransportcompositeConfigure(Transport transport, WireFormat format, Map options)Deprecated.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.Transportconfigure(Transport transport, WireFormat format, Map options)Deprecated.Fully configures and adds all need transport filters so that the transport can be used by the JMS client.protected Transportconfigure(Transport transport, WireFormat format, Map options, boolean acceptServer)Deprecated.Configures the transportprotected TransportconfigureClientSideNegotiator(Transport transport, WireFormat format, UdpTransport udpTransport)Deprecated.protected ReplayStrategycreateReplayStrategy()Deprecated.protected ReplayStrategycreateReplayStrategy(Replayer replayer)Deprecated.protected TransportcreateTransport(int port, WireFormat wf)Deprecated.protected TransportcreateTransport(URI location, WireFormat wf)Deprecated.Factory method to create a new transportTransportServerdoBind(URI location)Deprecated.-
Methods inherited from class org.apache.activemq.transport.TransportFactory
bind, compositeConnect, compositeConnect, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, findTransportFactory, getDefaultWireFormatType, getOption, registerTransportFactory, serverConfigure
-
-
-
-
Constructor Detail
-
UdpTransportFactory
public UdpTransportFactory()
Deprecated.
-
-
Method Detail
-
doBind
public TransportServer doBind(URI location) throws IOException
Deprecated.- Specified by:
doBindin classTransportFactory- Throws:
IOException
-
configure
public Transport configure(Transport transport, WireFormat format, Map options) throws Exception
Deprecated.Description copied from class:TransportFactoryFully configures and adds all need transport filters so that the transport can be used by the JMS client.- Overrides:
configurein classTransportFactory- Returns:
- Throws:
Exception
-
compositeConfigure
public Transport compositeConfigure(Transport transport, WireFormat format, Map options)
Deprecated.Description copied from class:TransportFactorySimilar 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:
compositeConfigurein classTransportFactory- Returns:
-
createTransport
protected Transport createTransport(URI location, WireFormat wf) throws UnknownHostException, IOException
Deprecated.Description copied from class:TransportFactoryFactory method to create a new transport- Overrides:
createTransportin classTransportFactory- Throws:
UnknownHostExceptionIOException
-
createTransport
protected Transport createTransport(int port, WireFormat wf) throws UnknownHostException, IOException
Deprecated.- Throws:
UnknownHostExceptionIOException
-
configure
protected Transport configure(Transport transport, WireFormat format, Map options, boolean acceptServer) throws Exception
Deprecated.Configures the transport- Parameters:
acceptServer- true if this transport is used purely as an 'accept' transport for new connections which work like TCP SocketServers where new connections spin up a new separate UDP transport- Throws:
Exception
-
createReplayStrategy
protected ReplayStrategy createReplayStrategy(Replayer replayer)
Deprecated.
-
createReplayStrategy
protected ReplayStrategy createReplayStrategy()
Deprecated.
-
configureClientSideNegotiator
protected Transport configureClientSideNegotiator(Transport transport, WireFormat format, UdpTransport udpTransport)
Deprecated.
-
asOpenWireFormat
protected OpenWireFormat asOpenWireFormat(WireFormat wf)
Deprecated.
-
-