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
Modifier and Type Method Description void
run()
void
stopPumping()
void
wantsPumping(PumpedTunnelGateway gw)
-
Constructor Details
-
TunnelGatewayPumper
Creates a new instance of TunnelGatewayPumper
-
-
Method Details
-
stopPumping
public void stopPumping() -
wantsPumping
-
run
public void run()
-