Class NettyWsTransportFactory
java.lang.Object
org.apache.qpid.jms.transports.TransportFactory
org.apache.qpid.jms.transports.netty.NettyWsTransportFactory
- Direct Known Subclasses:
NettyWssTransportFactory
Factory for creating the Netty based WebSocket Transport.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TransportOptionsapplyTransportConfiguration(TransportOptions transportOptions, Map<String, String> transportURIOptions) Apply URI options to a freshly createdTransportOptionsinstance which will be used when the actualTransportis created.protected NettyTcpTransportdoCreateTransport(URI remoteURI, TransportOptions transportOptions) Create the actual Transport instance for this factory using the provided URI and TransportOptions instances.getName()Methods inherited from class org.apache.qpid.jms.transports.TransportFactory
create, createTransport, doCreateTransportOptions, findTransportFactory, isSecure
-
Constructor Details
-
NettyWsTransportFactory
public NettyWsTransportFactory()
-
-
Method Details
-
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
- Specified by:
getNamein classTransportFactory- Returns:
- the name of this Transport.
-
applyTransportConfiguration
protected TransportOptions applyTransportConfiguration(TransportOptions transportOptions, Map<String, String> transportURIOptions) Description copied from class:TransportFactoryApply URI options to a freshly createdTransportOptionsinstance which will be used when the actualTransportis created.- Overrides:
applyTransportConfigurationin classTransportFactory- Parameters:
transportOptions- TheTransportOptionsinstance to configure.transportURIOptions- The URI options to apply to the givenTransportOptions.- Returns:
-