Class AbstractOioChannel

java.lang.Object
All Implemented Interfaces:
Channel, ChannelOutboundInvoker, AttributeMap, java.lang.Comparable<Channel>
Direct Known Subclasses:
AbstractOioByteChannel, AbstractOioMessageChannel

@Deprecated public abstract class AbstractOioChannel extends AbstractChannel
Deprecated.
use NIO / EPOLL / KQUEUE transport.
Abstract base class for Channel implementations that use Old-Blocking-IO
  • Field Details

    • SO_TIMEOUT

      protected static final int SO_TIMEOUT
      Deprecated.
      See Also:
    • readPending

      boolean readPending
      Deprecated.
    • readWhenInactive

      boolean readWhenInactive
      Deprecated.
    • readTask

      final java.lang.Runnable readTask
      Deprecated.
    • clearReadPendingRunnable

      private final java.lang.Runnable clearReadPendingRunnable
      Deprecated.
  • Constructor Details

  • Method Details

    • newUnsafe

      protected AbstractChannel.AbstractUnsafe newUnsafe()
      Deprecated.
      Description copied from class: AbstractChannel
      Create a new AbstractChannel.AbstractUnsafe instance which will be used for the life-time of the Channel
      Specified by:
      newUnsafe in class AbstractChannel
    • isCompatible

      protected boolean isCompatible(EventLoop loop)
      Deprecated.
      Description copied from class: AbstractChannel
      Return true if the given EventLoop is compatible with this instance.
      Specified by:
      isCompatible in class AbstractChannel
    • doConnect

      protected abstract void doConnect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress) throws java.lang.Exception
      Deprecated.
      Connect to the remote peer using the given localAddress if one is specified or null otherwise.
      Throws:
      java.lang.Exception
    • doBeginRead

      protected void doBeginRead() throws java.lang.Exception
      Deprecated.
      Description copied from class: AbstractChannel
      Schedule a read operation.
      Specified by:
      doBeginRead in class AbstractChannel
      Throws:
      java.lang.Exception
    • doRead

      protected abstract void doRead()
      Deprecated.
    • isReadPending

      @Deprecated protected boolean isReadPending()
      Deprecated.
      No longer supported. No longer supported.
    • setReadPending

      @Deprecated protected void setReadPending(boolean readPending)
      Deprecated.
      Use clearReadPending() if appropriate instead. No longer supported.
    • clearReadPending

      protected final void clearReadPending()
      Deprecated.
      Set read pending to false.