SunSPOT API V5.0


com.sun.midp.midlet
Class MIDletPeer

java.lang.Object
  extended by com.sun.midp.midlet.MIDletPeer

public class MIDletPeer
extends Object

MIDletPeer maintains the current state of the MIDlet and forwards updates to it. It contains a reference to the MIDlet itself. Control methods (startApp, destroyApp, pauseApp) defined here are invoked on the MIDlet object via the MIDletTunnel.

All state changes are synchronized using midletStateHandler retrieved from the MIDletStateHandler. NotifyPaused, ResumeRequest, and NotifyDestroyed methods invoked on the MIDlet cause the appropriate state change. The MIDletStateHandler is aware of changes by waiting on the midletStateHandler.


Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 


SunSPOT API V5.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.