/* IcmpService_Sub1 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

import jaclib.ping.IcmpService;

public class IcmpService_Sub1 extends IcmpService
{
    static volatile IcmpService_Sub1 anIcmpService_Sub1_8549;
    List aList8550 = new ArrayList();
    static Class102 aClass102_8551;
    
    public static boolean method14331() {
	do {
	    boolean bool;
	    try {
		if (available())
		    break;
		bool = false;
	    } catch (Throwable throwable) {
		return false;
	    }
	    return bool;
	} while (false);
	if (anIcmpService_Sub1_8549 != null)
	    throw new IllegalStateException("");
	anIcmpService_Sub1_8549 = new IcmpService_Sub1();
	Thread thread = new Thread(new Class472());
	thread.setDaemon(true);
	thread.start();
	return true;
    }
    
    public static boolean method14332() {
	do {
	    boolean bool;
	    try {
		if (available())
		    break;
		bool = false;
	    } catch (Throwable throwable) {
		return false;
	    }
	    return bool;
	} while (false);
	if (anIcmpService_Sub1_8549 != null)
	    throw new IllegalStateException("");
	anIcmpService_Sub1_8549 = new IcmpService_Sub1();
	Thread thread = new Thread(new Class472());
	thread.setDaemon(true);
	thread.start();
	return true;
    }
    
    IcmpService_Sub1() {
	/* empty */
    }
    
    public static void method14333(Interface50 interface50) {
	if (anIcmpService_Sub1_8549 == null)
	    throw new IllegalStateException("");
	((IcmpService_Sub1) anIcmpService_Sub1_8549).aList8550
	    .add(interface50);
    }
    
    protected void notify(int i, int i_0_, int i_1_) {
	Iterator iterator = ((IcmpService_Sub1) this).aList8550.iterator();
	while (iterator.hasNext()) {
	    Interface50 interface50 = (Interface50) iterator.next();
	    interface50.method360(i, i_0_, i_1_, -1611440207);
	}
    }
    
    protected void method13062(int i, int i_2_, int i_3_) {
	Iterator iterator = ((IcmpService_Sub1) this).aList8550.iterator();
	while (iterator.hasNext()) {
	    Interface50 interface50 = (Interface50) iterator.next();
	    interface50.method360(i, i_2_, i_3_, -1611440207);
	}
    }
    
    public static void method14334() {
	if (anIcmpService_Sub1_8549 != null) {
	    try {
		anIcmpService_Sub1_8549.quit();
	    } catch (Throwable throwable) {
		/* empty */
	    }
	    anIcmpService_Sub1_8549 = null;
	}
    }
    
    protected void notify(int i) {
	Iterator iterator = ((IcmpService_Sub1) this).aList8550.iterator();
	while (iterator.hasNext()) {
	    Interface50 interface50 = (Interface50) iterator.next();
	    interface50.method361(i == 0, -592608581);
	}
    }
    
    protected void method13061(int i) {
	Iterator iterator = ((IcmpService_Sub1) this).aList8550.iterator();
	while (iterator.hasNext()) {
	    Interface50 interface50 = (Interface50) iterator.next();
	    interface50.method361(i == 0, -1388483650);
	}
    }
    
    public static void method14335() {
	if (anIcmpService_Sub1_8549 != null) {
	    try {
		anIcmpService_Sub1_8549.quit();
	    } catch (Throwable throwable) {
		/* empty */
	    }
	    anIcmpService_Sub1_8549 = null;
	}
    }
    
    static final void method14336(Class479 class479, int i) {
	int i_4_ = (((Class479) class479).anIntArray6435
		    [((((Class479) class479).anInt6442 -= -1158629699)
		      * -117934955)]);
	Class117 class117 = Class70.method1756(i_4_, (byte) 54);
	Class283.method5711(class117, class479, -920936340);
    }
}
