Class EmbeddedChannel.EmbeddedUnsafe

java.lang.Object
io.netty.channel.AbstractChannel.AbstractUnsafe
io.netty.channel.embedded.EmbeddedChannel.EmbeddedUnsafe
All Implemented Interfaces:
Channel.Unsafe
Enclosing class:
EmbeddedChannel

private final class EmbeddedChannel.EmbeddedUnsafe extends AbstractChannel.AbstractUnsafe
  • Field Details

  • Constructor Details

    • EmbeddedUnsafe

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