All Implemented Interfaces:
Runnable
Enclosing class:
SAMStreamSink

private static class SAMStreamSink.Pingerextends I2PAppThread
Sends periodic ping messages on the stream.
  • Field Details

    • _out

      private final OutputStream _out
      Stream the pings are written to.
  • Constructor Details

    • Pinger

      public Pinger(OutputStream out)
      Thread sending the SAM keepalive PING to the bridge.
      Parameters:
      out - the bridge output stream to write PING commands to
  • Method Details

    • run

      public void run()
      Sends a PING to the bridge about every 127 seconds.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class I2PThread