java.lang.Object
net.i2p.router.transport.ntcp.Writer.Runner
All Implemented Interfaces:
Runnable
Enclosing class:
Writer

private class Writer.Runnerextends Object implements Runnable
Thread writing the assigned connections.
  • Field Details

    • _prepBuffer

      private final NTCPConnection.PrepBuffer _prepBuffer
      A scratch space to serialize and encrypt messages.
    • _stop

      private volatile boolean _stop
      True to stop the runner after the current pass.
  • Constructor Details

    • Runner

      public Runner()
      Writer runner with its own scratch buffer.
  • Method Details

    • stop

      public void stop()
      Stops this runner.
    • run

      public void run()
      Writer processing loop.
      Specified by:
      run in interface Runnable