SunSPOT API V4.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.


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

Constructor Detail

MIDletPeer

public MIDletPeer()

SunSPOT API V4.0


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