Class AbstractOioChannel.DefaultOioUnsafe

java.lang.Object
io.netty.channel.AbstractChannel.AbstractUnsafe
io.netty.channel.oio.AbstractOioChannel.DefaultOioUnsafe
All Implemented Interfaces:
Channel.Unsafe
Enclosing class:
AbstractOioChannel

private final class AbstractOioChannel.DefaultOioUnsafe extends AbstractChannel.AbstractUnsafe
  • Constructor Details

    • DefaultOioUnsafe

      private DefaultOioUnsafe()
  • Method Details

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