public class ERXSignalHandler extends Object implements sun.misc.SignalHandler
Constructor and Description |
---|
ERXSignalHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(sun.misc.Signal signal)
Implementation of the SignalHandler interface.
|
static void |
register(String signalName,
sun.misc.SignalHandler handler)
Adds your handler with the supplied signal name to the queue.
|
static void |
unregister(String signalName,
sun.misc.SignalHandler handler)
Removes your handler with the supplied signal name from the queue.
|
public static void register(String signalName, sun.misc.SignalHandler handler)
signalName
- eg HUP. TERM etc.handler
- SignalHandler objectpublic static void unregister(String signalName, sun.misc.SignalHandler handler)
signalName
- eg HUP. TERM etc.handler
- SignalHandler objectpublic void handle(sun.misc.Signal signal)
handle
in interface sun.misc.SignalHandler
Copyright © 2002 – 2024 Project Wonder.