|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jniwrapper.win32.system.WindowsSession
public class WindowsSession
This class responds for termination of windows session.
Method Summary | |
---|---|
static boolean |
logoff(boolean isNotify)
Logs off the current user. |
static boolean |
powerOff(boolean isNotify)
Shuts the system down and power off. |
static boolean |
reboot(boolean isNotify)
Shuts the system down and restarts the system. |
static boolean |
shutdown(boolean isNotify)
Shuts the system down. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean logoff(boolean isNotify)
isNotify
- if true then notify other application about shutdown else don't notify
public static boolean shutdown(boolean isNotify)
isNotify
- if true then notify other application about shutdown else don't notify
public static boolean powerOff(boolean isNotify)
isNotify
- if true then notify other application about shutdown else don't notify
public static boolean reboot(boolean isNotify)
isNotify
- if true then notify other application about shutdown else don't notify
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |