Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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