Class DHSessionKeyBuilder.PrecalcRunner

java.lang.Object
java.lang.Thread
net.i2p.util.I2PThread
net.i2p.router.transport.crypto.DHSessionKeyBuilder.PrecalcRunner
All Implemented Interfaces:
Runnable, DHSessionKeyBuilder.Factory
Enclosing class:
DHSessionKeyBuilder

public static class DHSessionKeyBuilder.PrecalcRunner
extends I2PThread
implements DHSessionKeyBuilder.Factory
Try to keep DH pairs at the ready. It's important to do this in a separate thread, because if we run out, the pairs are generated in the NTCP Pumper thread, and it can fall behind.