Sun SPOT API
Green Release  


com.sun.spot.peripheral
Class FiqInterruptDaemon

java.lang.Object
  extended by com.sun.spot.peripheral.FiqInterruptDaemon
All Implemented Interfaces:
Runnable

public class FiqInterruptDaemon
extends Object
implements Runnable


Constructor Summary
FiqInterruptDaemon(IPowerController powerController)
           
 
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 setAlarmHandler(IEventHandler handler)
           
 void setButtonHandler(IEventHandler handler)
           
 void setColdBootHandler(IEventHandler handler)
           
 void setLowBatteryHandler(IEventHandler handler)
           
 void startThreads()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FiqInterruptDaemon

public FiqInterruptDaemon(IPowerController powerController)
Method Detail

startThreads

public void startThreads()

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

setAlarmHandler

public void setAlarmHandler(IEventHandler handler)

setButtonHandler

public void setButtonHandler(IEventHandler handler)

setColdBootHandler

public void setColdBootHandler(IEventHandler handler)

setLowBatteryHandler

public void setLowBatteryHandler(IEventHandler handler)

Sun SPOT API
Green Release  


Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved.