esmska.integration.mac.handler
Class MacSystemSleepListener

java.lang.Object
  extended by esmska.integration.mac.handler.MacSystemSleepListener
All Implemented Interfaces:
com.apple.eawt.AppEventListener, com.apple.eawt.SystemSleepListener

public class MacSystemSleepListener
extends java.lang.Object
implements com.apple.eawt.SystemSleepListener

System sleep listener. It deactivates queueu when system is going to sleep and reactivates it when system awake. Deactivation and reactivation happens only if quueue was active before those events happens.


Constructor Summary
MacSystemSleepListener()
           
 
Method Summary
 void systemAboutToSleep(com.apple.eawt.AppEvent.SystemSleepEvent sse)
           
 void systemAwoke(com.apple.eawt.AppEvent.SystemSleepEvent sse)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacSystemSleepListener

public MacSystemSleepListener()
Method Detail

systemAboutToSleep

public void systemAboutToSleep(com.apple.eawt.AppEvent.SystemSleepEvent sse)
Specified by:
systemAboutToSleep in interface com.apple.eawt.SystemSleepListener

systemAwoke

public void systemAwoke(com.apple.eawt.AppEvent.SystemSleepEvent sse)
Specified by:
systemAwoke in interface com.apple.eawt.SystemSleepListener