Class 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 Detail

      • BWLimits

        BWLimits()
    • Method Detail

      • getBWLimits

        public static int[] getBWLimits​(String host,
                                        int port)