com.sun.spot.peripheral.handler
Class StopVMEventHandler
java.lang.Object
com.sun.spot.peripheral.handler.StopVMEventHandler
- All Implemented Interfaces:
- IEventHandler, Runnable
public class StopVMEventHandler
- extends Object
- implements IEventHandler, Runnable
Method Summary |
void |
run()
When an object implementing interface Runnable is used
to create a thread, starting the thread causes the object's
run method to be called in that separately executing
thread. |
void |
signalEvent()
Signal the occurrence of an event. |
StopVMEventHandler
public StopVMEventHandler()
signalEvent
public void signalEvent()
- Description copied from interface:
IEventHandler
- Signal the occurrence of an event. To ensure that it will run the
handler is called at MAX_SYS_PRIORITY. Your code should reduce the
priority as appropriate.
- Specified by:
signalEvent
in interface IEventHandler
run
public void run()
- Description copied from interface:
Runnable
- When an object implementing interface
Runnable
is used
to create a thread, starting the thread causes the object's
run
method to be called in that separately executing
thread.
The general contract of the method run
is that it may
take any action whatsoever.
- Specified by:
run
in interface Runnable
- See Also:
Thread.run()
Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.