Class StreamrConsumer

All Implemented Interfaces:
Sink, Source, EventDispatcher

public class StreamrConsumer extends I2PTunnelUDPClientBase
Compared to a standard I2PTunnel, this acts like a client on the I2P side (no privkey file) but a server on the UDP side (sends to a configured host/port)
Author:
welterde, zzz modded for I2PTunnel
  • Constructor Details

  • Method Details

    • startRunning

      public final void startRunning()
      Description copied from class: I2PTunnelUDPClientBase
      Actually start working on outgoing connections. Classes should override to start UDP side as well. Not specified in I2PTunnelTask but used in both I2PTunnelClientBase and I2PTunnelServer so let's implement it here too.
      Overrides:
      startRunning in class I2PTunnelUDPClientBase
    • close

      public boolean close(boolean forced)
      Description copied from class: I2PTunnelUDPClientBase
      I2PTunnelTask Methods Classes should override to close UDP side as well
      Overrides:
      close in class I2PTunnelUDPClientBase
      Returns:
      success