// Decompiled by Jad v1.5.7f. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   ConnectionKeeper.java


class ConnectionKeeper extends Thread
{

    ConnectionKeeper(Connection connection, int i)
    {
        con = connection;
        itself = this;
        freq = i * 1000;
        start();
    }

    public void run()
    {
        while(itself == this) 
        {
            con._alive();
            con.flood = 8;
            try
            {
                Thread.sleep(freq);
            }
            catch(Exception _ex) { }
        }
    }

    static final int MESSAGE_RATE = 8;
    ConnectionKeeper itself;
    Connection con;
    int freq;
}
