JNative v1.3 project : see http://jnative.sf.net


org.xvolks.jnative.util.win32session
Interface Win32SessionManager.EndSessionListener

Enclosing class:
Win32SessionManager

public static interface Win32SessionManager.EndSessionListener


Nested Class Summary
static class Win32SessionManager.EndSessionListener.Origin
           
 
Method Summary
 void endSessionOccured(Win32SessionManager.EndSessionListener.Origin org)
          This event is only avaliable if launched with javaw.exe (windows)
 boolean queryEndSessionOccured(Win32SessionManager.EndSessionListener.Origin org)
          Called when a EndSession event is detected
 void shutdownOccured(Win32SessionManager.EndSessionListener.Origin org)
          This event is only avaliable if launched with java.exe (console)
 

Method Detail

queryEndSessionOccured

boolean queryEndSessionOccured(Win32SessionManager.EndSessionListener.Origin org)
Called when a EndSession event is detected

Parameters:
org -
Returns:
true to let the session to close, false to stop that process

endSessionOccured

void endSessionOccured(Win32SessionManager.EndSessionListener.Origin org)
This event is only avaliable if launched with javaw.exe (windows)

Parameters:
org -

shutdownOccured

void shutdownOccured(Win32SessionManager.EndSessionListener.Origin org)
This event is only avaliable if launched with java.exe (console)

Parameters:
org -

JNative v1.3 project : see http://jnative.sf.net