Class NettyWsTransportFactory

    • Constructor Detail

      • NettyWsTransportFactory

        public NettyWsTransportFactory()
    • Method Detail

      • doCreateTransport

        protected NettyTcpTransport doCreateTransport​(java.net.URI remoteURI,
                                                      TransportOptions transportOptions)
                                               throws java.lang.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:
        java.lang.Exception - if an error occurs while creating the Transport instance.
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class TransportFactory
        Returns:
        the name of this Transport.