SunSPOT API V5.0


com.sun.spot.peripheral.handler
Class StopVMEventHandler

java.lang.Object
  extended by com.sun.spot.peripheral.handler.StopVMEventHandler
All Implemented Interfaces:
IEventHandler, Runnable

public class StopVMEventHandler
extends Object
implements IEventHandler, Runnable


Constructor Summary
StopVMEventHandler()
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopVMEventHandler

public StopVMEventHandler()
Method Detail

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()

SunSPOT API V5.0


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