public class BWLimits extends Object
This method is blocking and returns cached results if called again within the update interval. Returns null on failure.
Uses a 5-second timeout internally but typically completes faster. Thread-safe via method synchronization.
| Constructor and Description |
|---|
BWLimits() |
| Modifier and Type | Method and Description |
|---|---|
static int[] | getBWLimits(String host,
int port)Retrieves the bandwidth limits from the I2P router at the given host and port. |
public static int[] getBWLimits(String host, int port)
host - the I2CP host to connect toport - the I2CP port to connect to