Class NettyTcpTransportFactory
- java.lang.Object
-
- org.apache.qpid.jms.transports.TransportFactory
-
- org.apache.qpid.jms.transports.netty.NettyTcpTransportFactory
-
- Direct Known Subclasses:
NettySslTransportFactory
public class NettyTcpTransportFactory extends TransportFactory
Factory for creating the Netty based TCP Transport.
-
-
Constructor Summary
Constructors Constructor Description NettyTcpTransportFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NettyTcpTransportdoCreateTransport(URI remoteURI, TransportOptions transportOptions)Create the actual Transport instance for this factory using the provided URI and TransportOptions instances.StringgetName()-
Methods inherited from class org.apache.qpid.jms.transports.TransportFactory
applyTransportConfiguration, create, createTransport, doCreateTransportOptions, findTransportFactory, isSecure
-
-
-
-
Method Detail
-
doCreateTransport
protected NettyTcpTransport doCreateTransport(URI remoteURI, TransportOptions transportOptions) throws Exception
Description copied from class:TransportFactoryCreate the actual Transport instance for this factory using the provided URI and TransportOptions instances.- Specified by:
doCreateTransportin classTransportFactory- Parameters:
remoteURI- The URI used to connect to a remote Peer.transportOptions- The TransportOptions used to configure the new Transport.- Returns:
- a newly created and configured Transport instance.
- Throws:
Exception- if an error occurs while creating the Transport instance.
-
getName
public String getName()
- Specified by:
getNamein classTransportFactory- Returns:
- the name of this Transport.
-
-