Package org.adempiere.webui.util
Class DesktopWatchDog
java.lang.Object
org.adempiere.webui.util.DesktopWatchDog
watch for disconnected desktop and destroy it
- Author:
- hengsin
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addDesktop
(org.zkoss.zk.ui.Desktop desktop) add desktop to watch liststatic void
removeDesktop
(org.zkoss.zk.ui.Desktop desktop) remove desktop from watch liststatic void
removeOtherDesktopsInSession
(org.zkoss.zk.ui.Desktop desktop) Remove other desktops that share the same session with the pass in desktop parameter
-
Method Details
-
addDesktop
public static void addDesktop(org.zkoss.zk.ui.Desktop desktop) add desktop to watch list- Parameters:
desktop
-
-
removeDesktop
public static void removeDesktop(org.zkoss.zk.ui.Desktop desktop) remove desktop from watch list- Parameters:
desktop
-
-
removeOtherDesktopsInSession
public static void removeOtherDesktopsInSession(org.zkoss.zk.ui.Desktop desktop) Remove other desktops that share the same session with the pass in desktop parameter- Parameters:
desktop
-
-