org.openuat.apps.groupkey
Class appPairStub
java.lang.Object
org.openuat.apps.groupkey.appPairStub
- All Implemented Interfaces:
- java.lang.Runnable, javax.microedition.lcdui.CommandListener, ifListener
public class appPairStub
- extends java.lang.Object
- implements ifListener, javax.microedition.lcdui.CommandListener
- Author:
- Lukas
|
Constructor Summary |
appPairStub(javax.microedition.lcdui.Display _display)
|
|
Method Summary |
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable s)
|
void |
getMsg(java.lang.String _folder)
|
void |
handleKeyEvent(byte[] _key,
boolean _success)
|
void |
handleStringEvent(java.lang.String _data,
boolean _success)
Wakes up the sleeping Thread as it got a String-message |
void |
run()
|
void |
sendMsg(java.lang.String _folder,
java.lang.String _msg)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
appPairStub
public appPairStub(javax.microedition.lcdui.Display _display)
handleKeyEvent
public void handleKeyEvent(byte[] _key,
boolean _success)
handleStringEvent
public void handleStringEvent(java.lang.String _data,
boolean _success)
- Description copied from interface:
ifListener
- Wakes up the sleeping Thread as it got a String-message
- Specified by:
handleStringEvent in interface ifListener
- Parameters:
_data - received data_success - tells if there was success or not
sendMsg
public void sendMsg(java.lang.String _folder,
java.lang.String _msg)
getMsg
public void getMsg(java.lang.String _folder)
commandAction
public void commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable s)
- Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener
run
public void run()
- Specified by:
run in interface java.lang.Runnable
2005-2009, Rene Mayrhofer.