net.sourceforge.atunes.kernel.modules.device
Class DeviceDisconnectionMonitor

java.lang.Object
  extended by java.lang.Thread
      extended by net.sourceforge.atunes.kernel.modules.device.DeviceDisconnectionMonitor
All Implemented Interfaces:
java.lang.Runnable

public class DeviceDisconnectionMonitor
extends java.lang.Thread

The Class DeviceDisconnectionMonitor.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
static void addListener(DeviceDisconnectionListener listener)
          Adds the listener.
 void run()
           
static void startMonitor()
          Start monitor.
static void stopMonitor()
          Stop monitor.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

addListener

public static void addListener(DeviceDisconnectionListener listener)
Adds the listener.

Parameters:
listener - the listener

startMonitor

public static void startMonitor()
Start monitor.


stopMonitor

public static void stopMonitor()
Stop monitor.


run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.