Interface Terminal.SignalHandler

All Known Implementing Classes:
NativeSignalHandler
Enclosing interface:
Terminal

public static interface Terminal.SignalHandler
The SignalHandler defines the interface used to trap signals and perform specific behaviors.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The SIG_DFL value can be used to specify that the JVM default behavior should be used to handle this signal.
    The SIG_IGN value can be used to ignore this signal and not perform any special processing.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Handle the signal.
  • Field Details

    • SIG_DFL

      static final Terminal.SignalHandler SIG_DFL
      The SIG_DFL value can be used to specify that the JVM default behavior should be used to handle this signal.
    • SIG_IGN

      static final Terminal.SignalHandler SIG_IGN
      The SIG_IGN value can be used to ignore this signal and not perform any special processing.
  • Method Details

    • handle

      void handle(Terminal.Signal signal)
      Handle the signal.
      Parameters:
      signal - the signal