Interface ConsoleCtrlHandler


  • public interface ConsoleCtrlHandler
    • Method Detail

      • 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.