Class NioEndpoint.SocketProcessor

java.lang.Object
org.apache.tomcat.util.net.SocketProcessorBase<NioChannel>
org.apache.tomcat.util.net.NioEndpoint.SocketProcessor
All Implemented Interfaces:
Runnable
Enclosing class:
NioEndpoint

protected class NioEndpoint.SocketProcessor extends SocketProcessorBase<NioChannel>
This class is the equivalent of the Worker, but will simply use in an external Executor thread pool.
  • Constructor Details

    • SocketProcessor

      public SocketProcessor(SocketWrapperBase<NioChannel> socketWrapper, SocketEvent event)
      Creates a new socket processor.
      Parameters:
      socketWrapper - The socket wrapper
      event - The socket event
  • Method Details

    • doRun

      protected void doRun()
      Description copied from class: SocketProcessorBase
      Performs the actual socket processing work. Subclasses implement this method to define the specific processing logic for each endpoint type.
      Specified by:
      doRun in class SocketProcessorBase<NioChannel>