Package org.elasticsearch.nativeaccess
Interface WindowsFunctions.ConsoleCtrlHandler
- Enclosing class:
WindowsFunctions
public static interface WindowsFunctions.ConsoleCtrlHandler
Windows callback for console events
- See Also:
-
Field Summary
Fields -
Method Summary
-
Field Details
-
CTRL_CLOSE_EVENT
static final int CTRL_CLOSE_EVENT- See Also:
-
-
Method Details
-
handle
boolean handle(int code) Handles the Ctrl event.- Parameters:
code
- the code corresponding to the Ctrl sent.- Returns:
- true if the handler processed the event, false otherwise. If false, the next handler will be called.
-