| example.mms.MMSReceive
MMSReceive | public class MMSReceive extends MIDlet implements CommandListener,Runnable,MessageListener(Code) | | An example MIDlet displays text from an MMS MessageConnection
|
Constructor Summary | |
public | MMSReceive() Initialize the MIDlet with the current display object and
graphical components. |
Method Summary | |
public void | commandAction(Command c, Displayable s) | public void | destroyApp(boolean unconditional) Destroy must cleanup everything. | public void | notifyIncomingMessage(MessageConnection conn) Notification that a message arrived. | public void | pauseApp() Pause signals the thread to stop by clearing the thread field. | public void | run() Message reading thread. | public void | startApp() Start creates the thread to do the MessageConnection receive
text. |
MMSReceive | public MMSReceive()(Code) | | Initialize the MIDlet with the current display object and
graphical components.
|
commandAction | public void commandAction(Command c, Displayable s)(Code) | | Respond to commands, including exit
Parameters: c - user interface command requested Parameters: s - screen object initiating the request |
destroyApp | public void destroyApp(boolean unconditional)(Code) | | Destroy must cleanup everything. The thread is signaled
to stop and no result is produced.
Parameters: unconditional - true if a forced shutdown was requested |
notifyIncomingMessage | public void notifyIncomingMessage(MessageConnection conn)(Code) | | Notification that a message arrived.
Parameters: conn - the connection with messages available |
pauseApp | public void pauseApp()(Code) | | Pause signals the thread to stop by clearing the thread field.
If stopped before done with the iterations it will
be restarted from scratch later.
|
run | public void run()(Code) | | Message reading thread.
|
startApp | public void startApp()(Code) | | Start creates the thread to do the MessageConnection receive
text.
It should return immediately to keep the dispatcher
from hanging.
|
|
|