Nio2Endpoint.SocketProcessor (Apache Tomcat 9.0.37 API Documentation)

org.apache.tomcat.util.net

## Class Nio2Endpoint.SocketProcessor

- java.lang.Object
- - org.apache.tomcat.util.net.SocketProcessorBase<Nio2Channel>
  - - org.apache.tomcat.util.net.Nio2Endpoint.SocketProcessor

- All Implemented Interfaces:
    Runnable
  Enclosing class:
    Nio2Endpoint

      protected class Nio2Endpoint.SocketProcessor
      extends SocketProcessorBase<Nio2Channel>

  This class is the equivalent of the Worker, but will simply use in an external Executor thread pool.

- - ### Field Summary

    - ### Fields inherited from class org.apache.tomcat.util.net.SocketProcessorBase

      `event, socketWrapper`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SocketProcessor(SocketWrapperBase<Nio2Channel> socketWrapper, SocketEvent event)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `doRun()`

    - ### Methods inherited from class org.apache.tomcat.util.net.SocketProcessorBase

      `reset, run`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SocketProcessor

          public SocketProcessor(SocketWrapperBase<Nio2Channel> socketWrapper,
                                 SocketEvent event)

  - ### Method Detail

    - #### doRun

          protected void doRun()

      Specified by:
        `doRun` in class `SocketProcessorBase<Nio2Channel>`

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.