microtik tool to vie another router in a network
源代码在线查看: f.java
package com.hoya.games.sp;
import java.util.Hashtable;
import java.util.Vector;
public final class f extends Thread
{
private boolean a = false;
private int b = 100;
private long c = -1L;
public final void run()
{
if ((this.a) && (j.f != null) && (j.f.b != null))
{
double d = u.b_();
int i = (int)(lx.ba.length() * j.f.v / d) + 50;
if (lx.aZ > -i)
{
lx.aZ -= 6;
}
else
{
lx.aZ = 800;
int j = 0;
while (true)
{
String str;
while (true)
{
int k;
if (j >= lx.bc.size())
break label169;
str = (String)lx.bc.get(j);
if ((k = ((Integer)lx.bd.get(str)).intValue()) >= 3)
break;
++k;
lx.bd.put(str, new Integer(k));
++j;
}
lx.bc.remove(j);
lx.bd.remove(str);
}
if (lx.bc.size() == 0)
label169: this.a = false;
}
this.c = System.currentTimeMillis();
lx.j.repaint();
}
try
{
long l2;
while (true)
{
long l1 = System.currentTimeMillis();
l2 = this.b - l1 - this.c;
if (this.c < 0L)
l2 = 100L;
if (l2 break;
sleep(l2);
}
this.c += l2;
}
catch (InterruptedException localInterruptedException)
{
}
}
public final void a()
{
this.a = true;
}
}