org.klomp.snark
Class BWLimits

java.lang.Object
  extended by org.klomp.snark.BWLimits

 class BWLimits
extends java.lang.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
BWLimits()
           
 
Method Summary
static int[] getBWLimits(java.lang.String host, int port)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BWLimits

BWLimits()
Method Detail

getBWLimits

public static int[] getBWLimits(java.lang.String host,
                                int port)

main

public static void main(java.lang.String[] args)