All Implemented Interfaces:
Runnable
Enclosing class:
SAMStreamSink

private class SAMStreamSink.DGRcvrextends I2PAppThread
Receives datagram or raw messages and writes them to files.
  • Field Details

    • _mode

      private final int _mode
      The receive mode to run.
  • Constructor Details

    • DGRcvr

      public DGRcvr(int mode)
      Thread receiving datagrams sent to the SAM datagram port.
      Parameters:
      mode - the receive mode, DG or RAWHDR
  • Method Details

    • run

      public void run()
      Receives datagrams and writes them to the first active sink.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class I2PThread