Module java.desktop

Interface SystemSleepListener

All Superinterfaces:
EventListener, SystemEventListener

public interface SystemSleepListener extends SystemEventListener
Implementors receive notification as the system is entering sleep, and after the system wakes.

This notification is useful for disconnecting from network services prior to sleep, or re-establishing a connection if the network configuration has changed during sleep.

Since:
9