public class UdpTransportFactory extends TransportFactory
| Constructor and Description |
|---|
UdpTransportFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected OpenWireFormat |
asOpenWireFormat(WireFormat wf) |
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.
|
Transport |
configure(Transport transport,
WireFormat format,
java.util.Map options)
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,
java.util.Map options,
boolean acceptServer)
Configures the transport
|
protected Transport |
configureClientSideNegotiator(Transport transport,
WireFormat format,
UdpTransport udpTransport) |
protected ReplayStrategy |
createReplayStrategy() |
protected ReplayStrategy |
createReplayStrategy(Replayer replayer) |
protected Transport |
createTransport(int port,
WireFormat wf) |
protected Transport |
createTransport(java.net.URI location,
WireFormat wf)
Factory method to create a new transport
|
TransportServer |
doBind(java.net.URI location) |
bind, bind, bind, compositeConnect, compositeConnect, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, getDefaultWireFormatType, getOption, registerTransportFactory, serverConfigurepublic UdpTransportFactory()
public TransportServer doBind(java.net.URI location) throws java.io.IOException
doBind in class TransportFactoryjava.io.IOExceptionpublic Transport configure(Transport transport, WireFormat format, java.util.Map options) throws java.lang.Exception
TransportFactoryconfigure in class TransportFactoryjava.lang.Exceptionpublic Transport compositeConfigure(Transport transport, WireFormat format, java.util.Map options)
TransportFactorycompositeConfigure in class TransportFactoryprotected Transport createTransport(java.net.URI location, WireFormat wf) throws java.net.UnknownHostException, java.io.IOException
TransportFactorycreateTransport in class TransportFactoryjava.net.UnknownHostExceptionjava.io.IOExceptionprotected Transport createTransport(int port, WireFormat wf) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostExceptionjava.io.IOExceptionprotected Transport configure(Transport transport, WireFormat format, java.util.Map options, boolean acceptServer) throws java.lang.Exception
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 transportjava.lang.Exceptionprotected ReplayStrategy createReplayStrategy(Replayer replayer)
protected ReplayStrategy createReplayStrategy()
protected Transport configureClientSideNegotiator(Transport transport, WireFormat format, UdpTransport udpTransport)
protected OpenWireFormat asOpenWireFormat(WireFormat wf)
Copyright © 2005-2012. All Rights Reserved.