|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectMIDlet
com.alarexgroup.m2mplf.M2Mlet
public abstract class M2Mlet
This is fundamental class of any M2M application written with M2MArchitect.
By extending this class you create the core of your application.
Example:
import com.alarexgroup.m2mplf.M2Mlet;
|
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_INI_CONFIG
Path to application's main INI file (configuration) |
| Constructor Summary | |
|---|---|
M2Mlet()
|
|
| Method Summary | |
|---|---|
abstract void |
appPause()
By implementing this method you can define actions to handle paused application. |
abstract void |
appStart()
Abstract method that is called at application's start. |
abstract void |
appStop(boolean unconditional)
By implementing this method you can define actions that are necessary when application finishes. |
protected void |
destroyApp(boolean unconditional)
Internal method. |
protected void |
pauseApp()
Internal method. |
protected void |
startApp()
Internal method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_INI_CONFIG
| Constructor Detail |
|---|
public M2Mlet()
| Method Detail |
|---|
protected final void startApp()
throws MIDletStateChangeException
MIDletStateChangeException - exception regarding the MIDLet's state
protected final void destroyApp(boolean unconditional)
throws MIDletStateChangeException
unconditional -
MIDletStateChangeException - exception regarding the MIDLet's stateprotected final void pauseApp()
public abstract void appStart()
public abstract void appStop(boolean unconditional)
unconditional - TRUE - terminating application at oncepublic abstract void appPause()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||