Class AbstractOioChannel.DefaultOioUnsafe

    • Constructor Detail

      • DefaultOioUnsafe

        private DefaultOioUnsafe()
    • Method Detail

      • connect

        public void connect​(java.net.SocketAddress remoteAddress,
                            java.net.SocketAddress localAddress,
                            ChannelPromise promise)
        Description copied from interface: Channel.Unsafe
        Connect the Channel of the given ChannelFuture with the given remote SocketAddress. If a specific local SocketAddress should be used it need to be given as argument. Otherwise just pass null to it. The ChannelPromise will get notified once the connect operation was complete.