Methods Summary |
---|
public static com.sun.midp.suspend.SuspendSystem | getSuspendSystem()Retrieves SuspendSystem instance using privileged security token.
return SuspendSystem.getInstance(securityToken);
|
public static native void | resumeMidp()Sends MIDP resume request.
|
public static native void | setNoVMSuspendMode()Sets special testing suspend mode that does not suspend VM.
|
public static native void | setVMSuspendMode()Sets suspend mode that suspends both resources and VM.
|
public static void | sleep(long ms)Provides execution delay.
try {
Thread.sleep(ms);
} catch (InterruptedException e) {
// ignoring
}
|
public static void | sleep()Provides default execution delay.
sleep(DELAY);
|
public static native void | suspendAndResumeMidp(int timeout)Requests MIDP to suspend and then resume by timeout.
|
public static native void | suspendMidp()Sends MIDP suspend request.
|