org.jppf.node.idle
Class IdleDetector
java.lang.Object
org.jppf.node.idle.IdleDetector
- All Implemented Interfaces:
- Runnable
public class IdleDetector
- extends Object
- implements Runnable
This class detects that no mouse or keyboard has occurred for a specified time,
and performs a specified action when this happens.
- Author:
- Laurent Cohen
|
Method Summary |
static void |
main(String[] args)
Main entry point. |
void |
run()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdleDetector
public IdleDetector(IdleStateListener listener)
- Defautlt constructor.
- Parameters:
listener - specifies the action to perform upon idle state changes.
run
public void run()
-
- Specified by:
run in interface Runnable
main
public static void main(String[] args)
- Main entry point.
- Parameters:
args - not used.
Copyright © 2005-2010 JPPF Team.