52938
|
1 |
/*
|
|
2 |
* Copyright (c) 2002-2016, the original author or authors.
|
|
3 |
*
|
|
4 |
* This software is distributable under the BSD license. See the terms of the
|
|
5 |
* BSD license in the documentation provided with this software.
|
|
6 |
*
|
58903
|
7 |
* https://opensource.org/licenses/BSD-3-Clause
|
52938
|
8 |
*/
|
|
9 |
package jdk.internal.org.jline.terminal.impl;
|
|
10 |
|
|
11 |
import jdk.internal.org.jline.terminal.Terminal.Signal;
|
|
12 |
import jdk.internal.org.jline.terminal.Terminal.SignalHandler;
|
|
13 |
|
|
14 |
public final class NativeSignalHandler implements SignalHandler {
|
|
15 |
|
|
16 |
public static final NativeSignalHandler SIG_DFL = new NativeSignalHandler();
|
|
17 |
|
|
18 |
public static final NativeSignalHandler SIG_IGN = new NativeSignalHandler();
|
|
19 |
|
|
20 |
private NativeSignalHandler() {
|
|
21 |
}
|
|
22 |
|
|
23 |
public void handle(Signal signal) {
|
|
24 |
throw new UnsupportedOperationException();
|
|
25 |
}
|
|
26 |
}
|