FileDocCategorySizeDatePackage
MIDletProxyUtils.javaAPI DocphoneME MR2 API (J2ME)2270Wed May 02 18:00:08 BST 2007com.sun.midp.main

MIDletProxyUtils

public class MIDletProxyUtils extends Object
Utilities for the MIDletProxy.

Fields Summary
Constructors Summary
Methods Summary
public static voidmaxPriority(MIDletProxy mp)
Set the MIDletProxy to run with the Maximum Isolate Priority

param
mp MIDletProxy

    
public static voidminPriority(MIDletProxy mp)
Set the MIDletProxy to run with the Minimum Isolate Priority

param
mp MIDletProxy

    
public static voidnormalPriority(MIDletProxy mp)
Set the MIDletProxy to run with the Normal Isolate Priority

param
mp MIDletProxy

    
private static native voidrequestVMStop()
Requests VM to stop.

static voidterminateMIDletIsolate(MIDletProxy mp, MIDletProxyList mpl)
Removes current MIDlet form the proxy list and reqests VM to stop. This results in terminating current applicaton and further re-launching VM with an AMS MIDlet (if the latter is scheduled in the main MIDP running loop).

param
mp the only MIDlet proxy presenting in the system
param
mpl the MIDlet proxy list

        requestVMStop();