Package net.i2p.router.tunnel
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 Summary
Constructors Constructor Description TunnelGatewayPumper(RouterContext ctx)
Creates a new instance of TunnelGatewayPumper
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
void
stopPumping()
void
wantsPumping(PumpedTunnelGateway gw)
-
-
-
Constructor Detail
-
TunnelGatewayPumper
public TunnelGatewayPumper(RouterContext ctx)
Creates a new instance of TunnelGatewayPumper
-
-
Method Detail
-
stopPumping
public void stopPumping()
-
wantsPumping
public void wantsPumping(PumpedTunnelGateway gw)
-
-