Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.generalconfig.autoaway
Class StatusUpdateThread

java.lang.Object
  extended by net.java.sip.communicator.plugin.generalconfig.autoaway.StatusUpdateThread
All Implemented Interfaces:
Runnable

public class StatusUpdateThread
extends Object
implements Runnable

A Runnable, which permanently looks at the mouse position. If the mouse is not moved, all accounts are set to "Away" or similar states.

Author:
Thomas Hofer

Constructor Summary
StatusUpdateThread()
           
 
Method Summary
(package private) static PresenceStatus findAwayStatus(OperationSetPresence presence)
          Finds the Away-Status of the protocols
(package private) static int getTimer()
           
 boolean isRunning()
           
 void run()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusUpdateThread

public StatusUpdateThread()
Method Detail

run

public void run()
Specified by:
run in interface Runnable

stop

public void stop()

findAwayStatus

static PresenceStatus findAwayStatus(OperationSetPresence presence)
Finds the Away-Status of the protocols

Parameters:
presence -
Returns:

getTimer

static int getTimer()

isRunning

public boolean isRunning()

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.