Class NettyTcpTransportFactory

    • Constructor Detail

      • NettyTcpTransportFactory

        public NettyTcpTransportFactory()
    • Method Detail

      • 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.