org.apache.activemq.transport.udp
Class UdpTransportFactory

java.lang.Object
  extended by org.apache.activemq.transport.TransportFactory
      extended by org.apache.activemq.transport.udp.UdpTransportFactory
Direct Known Subclasses:
MulticastTransportFactory

Deprecated.

@Deprecated
public class UdpTransportFactory
extends TransportFactory

Author:
David Martin Clavo david(dot)martin(dot)clavo(at)gmail.com (logging improvement modifications)

Constructor Summary
UdpTransportFactory()
          Deprecated.  
 
Method Summary
protected  OpenWireFormat asOpenWireFormat(WireFormat wf)
          Deprecated.  
 Transport compositeConfigure(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.
 Transport configure(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  Transport configure(Transport transport, WireFormat format, Map options, boolean acceptServer)
          Deprecated. Configures the transport
protected  Transport configureClientSideNegotiator(Transport transport, WireFormat format, UdpTransport udpTransport)
          Deprecated.  
protected  ReplayStrategy createReplayStrategy()
          Deprecated.  
protected  ReplayStrategy createReplayStrategy(Replayer replayer)
          Deprecated.  
protected  Transport createTransport(int port, WireFormat wf)
          Deprecated.  
protected  Transport createTransport(URI location, WireFormat wf)
          Deprecated. Factory method to create a new transport
 TransportServer doBind(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UdpTransportFactory

public UdpTransportFactory()
Deprecated. 
Method Detail

doBind

public TransportServer doBind(URI location)
                       throws IOException
Deprecated. 
Specified by:
doBind in class TransportFactory
Throws:
IOException

configure

public Transport configure(Transport transport,
                           WireFormat format,
                           Map options)
                    throws Exception
Deprecated. 
Description copied from class: TransportFactory
Fully configures and adds all need transport filters so that the transport can be used by the JMS client.

Overrides:
configure in class TransportFactory
Returns:
Throws:
Exception

compositeConfigure

public Transport compositeConfigure(Transport transport,
                                    WireFormat format,
                                    Map options)
Deprecated. 
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 TransportFactory
Returns:

createTransport

protected Transport createTransport(URI location,
                                    WireFormat wf)
                             throws UnknownHostException,
                                    IOException
Deprecated. 
Description copied from class: TransportFactory
Factory method to create a new transport

Overrides:
createTransport in class TransportFactory
Throws:
UnknownHostException
IOException

createTransport

protected Transport createTransport(int port,
                                    WireFormat wf)
                             throws UnknownHostException,
                                    IOException
Deprecated. 
Throws:
UnknownHostException
IOException

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. 


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.