Package org.klomp.snark
Class BWLimits
java.lang.Object
org.klomp.snark.BWLimits
class BWLimits extends Object
Connect via I2CP and ask the router the bandwidth limits.
The call is blocking and returns null on failure.
Timeout is set to 5 seconds in I2PSimpleSession but it should be much faster.
- Author:
- zzz
-
Constructor Summary
Constructors Constructor Description BWLimits()
-
Method Summary
Modifier and Type Method Description static int[]
getBWLimits(String host, int port)
-
Constructor Details
-
BWLimits
BWLimits()
-
-
Method Details