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 Details

    • NettyTcpTransportFactory

      public NettyTcpTransportFactory()
  • Method Details

    • doCreateTransport

      protected NettyTcpTransport doCreateTransport(URI remoteURI, TransportOptions transportOptions) throws Exception
      Description copied from class: TransportFactory
      Create the actual Transport instance for this factory using the provided URI and TransportOptions instances.
      Specified by:
      doCreateTransport in class TransportFactory
      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:
      getName in class TransportFactory
      Returns:
      the name of this Transport.