All Implemented Interfaces:
Runnable
Enclosing class:
SAMStreamSink

private class SAMStreamSink.FwdRcvrextends I2PAppThread
Forwards received messages to a local port.
  • Field Details

    • _isSSL

      private final boolean _isSSL
      Whether the forward connection uses SSL.
    • _opts

      private final Properties _opts
      SSL options for the forward connection.
  • Constructor Details

    • FwdRcvr

      public FwdRcvr(boolean isSSL, Properties opts)
      Thread accepting forwarded connections from the SAM forwarding port.
      Parameters:
      isSSL - true to accept the forwarded connection over SSL
      opts - SSL connection options, used only when isSSL is true
  • Method Details

    • run

      public void run()
      Accepts forwarded connections and streams their data to the sink.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class I2PThread