Interface ConsoleCtrlHandler


public interface ConsoleCtrlHandler
  • Field Summary

    Fields
    Modifier and Type Field Description
    static int CTRL_CLOSE_EVENT  
  • Method Summary

    Modifier and Type Method Description
    boolean handle​(int code)
    Handles the Ctrl event.
  • Field Details

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