Interface ConsoleCtrlHandler

public interface ConsoleCtrlHandler
  • Field Summary

    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.
      code - the code corresponding to the Ctrl sent.
      true if the handler processed the event, false otherwise. If false, the next handler will be called.