Class NioClientBoss

java.lang.Object
org.jboss.netty.channel.socket.nio.NioClientBoss
All Implemented Interfaces:
Runnable, Boss, NioSelector

public final class NioClientBoss extends Object implements Boss
Boss implementation that handles the connection attempts of clients
  • Field Details

    • logger

      protected static final InternalLogger logger
      Internal Netty logger.
    • thread

      protected volatile Thread thread
      If this worker has been started thread will be a reference to the thread used when starting. i.e. the current thread when the run method is executed.
    • selector

      protected volatile Selector selector
      The NIO Selector.
    • wakenUp

      protected final AtomicBoolean wakenUp
      Boolean that controls determines if a blocked Selector.select should break out of its selection process. In our case we use a timeone for the select method and the select method will block for that time unless waken up.
  • Method Details