Class AbstractServerChannel.DefaultServerUnsafe

java.lang.Object
io.netty.channel.AbstractChannel.AbstractUnsafe
io.netty.channel.AbstractServerChannel.DefaultServerUnsafe
All Implemented Interfaces:
Channel.Unsafe
Enclosing class:
AbstractServerChannel

private final class AbstractServerChannel.DefaultServerUnsafe extends AbstractChannel.AbstractUnsafe
  • Constructor Details

    • DefaultServerUnsafe

      private DefaultServerUnsafe()
  • 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.