|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.realtime.POSIXSignalHandler
The class POSIXSignalHandler
provides a way of
handling POSIX signals by means of AsyncEventHandler
.
Field Summary | |
static int |
SIGABRT
|
static int |
SIGALRM
|
static int |
SIGBUS
|
static int |
SIGCANCEL
Deprecated. This signal specifier is deprecated in version 1.0.1(b) of the RTSJ because it is non-POSIX. |
static int |
SIGCHLD
|
static int |
SIGCLD
|
static int |
SIGCONT
|
static int |
SIGFPE
|
static int |
SIGFREEZE
Deprecated. This signal specifier is deprecated in version 1.0.1(b) of the RTSJ because it is non-POSIX. |
static int |
SIGHUP
|
static int |
SIGILL
|
static int |
SIGINT
|
static int |
SIGIO
Deprecated. This signal specifier is deprecated in version 1.0.1(b) of the RTSJ because it is non-POSIX. |
static int |
SIGIOT
|
static int |
SIGKILL
|
static int |
SIGLOST
Deprecated. This signal specifier is deprecated in version 1.0.1(b) of the RTSJ because it is non-POSIX. |
static int |
SIGLWP
Deprecated. This signal specifier is deprecated in version 1.0.1(b) of the RTSJ because it is non-POSIX. |
protected static int |
SIGMAX
|
protected static int |
SIGMIN
|
protected static int |
SIGNUM
|
static int |
SIGPIPE
|
static int |
SIGPOLL
Deprecated. This signal specifier is deprecated in version 1.0.1(b) of the RTSJ because it is non-POSIX. |
static int |
SIGPROF
Deprecated. This signal specifier is deprecated in version 1.0.1(b) of the RTSJ because it is non-POSIX. |
static int |
SIGPWR
Deprecated. This signal specifier is deprecated in version 1.0.1(b) of the RTSJ because it is non-POSIX. |
static int |
SIGQUIT
|
static int |
SIGSEGV
|
static int |
SIGSTKFLT
|
static int |
SIGSTOP
|
static int |
SIGSYS
|
static int |
SIGTERM
|
static int |
SIGTHAW
Deprecated. This signal specifier is deprecated in version 1.0.1(b) of the RTSJ because it is non-POSIX. |
static int |
SIGTRAP
|
static int |
SIGTSTP
|
static int |
SIGTTIN
|
static int |
SIGTTOU
|
static int |
SIGUNUSED
|
static int |
SIGURG
Deprecated. This signal specifier is deprecated in version 1.0.1(b) of the RTSJ because it is non-POSIX. |
static int |
SIGUSR1
|
static int |
SIGUSR2
|
static int |
SIGVTALRM
Deprecated. This signal specifier is deprecated in version 1.0.1(b) of the RTSJ because it is non-POSIX. |
static int |
SIGWAITING
Deprecated. This signal specifier is deprecated in version 1.0.1(b) of the RTSJ because it is non-POSIX. |
static int |
SIGWINCH
Deprecated. This signal specifier is deprecated in version 1.0.1(b) of the RTSJ because it is non-POSIX. |
static int |
SIGXCPU
Deprecated. This signal specifier is deprecated in version 1.0.1(b) of the RTSJ because it is non-POSIX. |
static int |
SIGXFSZ
Deprecated. This signal specifier is deprecated in version 1.0.1(b) of the RTSJ because it is non-POSIX. |
Constructor Summary | |
POSIXSignalHandler()
|
Method Summary | |
static void |
addHandler(int signum,
AsyncEventHandler handler)
Adds a handler for the given signal. |
static void |
removeHandler(int signum,
AsyncEventHandler handler)
Removes the given handler for the given signal. |
static void |
setHandler(int signum,
AsyncEventHandler handler)
Associate a new handler with the given POSIX signal, removing all existing handlers. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SIGHUP
public static final int SIGINT
public static final int SIGQUIT
public static final int SIGILL
public static final int SIGTRAP
public static final int SIGABRT
public static final int SIGIOT
public static final int SIGBUS
public static final int SIGFPE
public static final int SIGKILL
public static final int SIGUSR1
public static final int SIGSEGV
public static final int SIGUSR2
public static final int SIGPIPE
public static final int SIGALRM
public static final int SIGTERM
public static final int SIGSTKFLT
public static final int SIGCHLD
public static final int SIGCLD
public static final int SIGCONT
public static final int SIGSTOP
public static final int SIGTSTP
public static final int SIGTTIN
public static final int SIGTTOU
public static final int SIGURG
public static final int SIGXCPU
public static final int SIGXFSZ
public static final int SIGVTALRM
public static final int SIGPROF
public static final int SIGWINCH
public static final int SIGIO
public static final int SIGPOLL
public static final int SIGPWR
public static final int SIGSYS
public static final int SIGUNUSED
protected static final int SIGNUM
protected static final int SIGMIN
protected static final int SIGMAX
public static final int SIGFREEZE
public static final int SIGCANCEL
public static final int SIGLOST
public static final int SIGLWP
public static final int SIGTHAW
public static final int SIGWAITING
Constructor Detail |
public POSIXSignalHandler()
Method Detail |
public static void addHandler(int signum, AsyncEventHandler handler)
signum
- POSIX signalhandler
- The handler that will handle the given signal.public static void removeHandler(int signum, AsyncEventHandler handler)
signum
- a POSIX signal numberhandler
- the handler to be removedpublic static void setHandler(int signum, AsyncEventHandler handler)
signum
- POSIX signalhandler
- the new handler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |