FileDocCategorySizeDatePackage
LowLevelNetRunner.javaAPI DocAndroid 1.5 API1238Wed May 06 22:42:02 BST 2009android.core

LowLevelNetRunner

public class LowLevelNetRunner extends Thread
Provides synchronization handling for low level Request API tests

Fields Summary
private int
count
Constructors Summary
LowLevelNetRunner()


     
    
Methods Summary
public voiddecrementRunCount()
Decrement the run count. If this returns to zero notify any test waiting.

        count--;
        if (count <= 0) {
            synchronized (RequestAPITest.syncObj) {
                RequestAPITest.syncObj.notifyAll();
            }
        }
    
public voidincrementRunCount()

        count++;