public class MacUserSessionListener
extends java.lang.Object
implements com.apple.eawt.UserSessionListener
The reason of doing this is possible loss of internet connection while switching users. Deactivation and reactivation happens only if quueue was active before those events happens.
Constructor and Description |
---|
MacUserSessionListener() |
Modifier and Type | Method and Description |
---|---|
void |
userSessionActivated(com.apple.eawt.AppEvent.UserSessionEvent use) |
void |
userSessionDeactivated(com.apple.eawt.AppEvent.UserSessionEvent use) |
public void userSessionDeactivated(com.apple.eawt.AppEvent.UserSessionEvent use)
userSessionDeactivated
in interface com.apple.eawt.UserSessionListener
public void userSessionActivated(com.apple.eawt.AppEvent.UserSessionEvent use)
userSessionActivated
in interface com.apple.eawt.UserSessionListener