Class TunnelGatewayPumper

java.lang.Object
net.i2p.router.tunnel.TunnelGatewayPumper
All Implemented Interfaces:
Runnable

class TunnelGatewayPumper extends Object implements Runnable
Run through the tunnel gateways that have had messages added to them and push those messages through the preprocessing and sending process. TODO do we need this many threads? TODO this combines IBGWs and OBGWs, do we wish to separate the two and/or prioritize OBGWs (i.e. our outbound traffic) over IBGWs (participating)?
  • Constructor Details

    • TunnelGatewayPumper

      public TunnelGatewayPumper(RouterContext ctx)
      Creates a new instance of TunnelGatewayPumper
  • Method Details

    • stopPumping

      public void stopPumping()
    • wantsPumping

      public void wantsPumping(PumpedTunnelGateway gw)
    • run

      public void run()
      Specified by:
      run in interface Runnable