The function of this class is to call a native function, when a MIDletSuite terminates. The native function will perform any cleanup that is required, eg: delete any messages left unread by the MIDletSuite. This class implements the {@link com.sun.midp.main.MIDletProxyListListener} interface and is thus notified whenever a MIDletSuite is installed or removed. The methods here are called at appropriate times.
At startup init is called by
{@link com.sun.midp.main.MIDletSuiteLoader} to initialize any
necessary cleanup handling when the application exits.
When a MIDlet is about to created the
midletAdded method is called, but it is a no-op here.
When a MIDlet state is updated the
midletUpdated method is called, but it is a no-op here.
When an error occurs while starting a MIDlet the
midletStartError method is called, but it is a no-op here.
When a MIDlet has been destroyed the
midletRemoved method is called and it calls a native
method to delete any unread messages in the inbox.