org.apache.sshd.server
Enum Signal

java.lang.Object
  extended by java.lang.Enum<Signal>
      extended by org.apache.sshd.server.Signal
All Implemented Interfaces:
Serializable, Comparable<Signal>

public enum Signal
extends Enum<Signal>

System signals definition that the shell can receive.

See Also:
Environment

Enum Constant Summary
ALRM
           
BUS
           
CHLD
           
CONT
           
FPE
           
HUP
           
ILL
           
INT
           
IO
           
IOT
           
KILL
           
PIPE
           
PROF
           
PWR
           
QUIT
           
SEGV
           
STKFLT
           
STOP
           
TERM
           
TRAP
           
TSTP
           
TTIN
           
TTOU
           
URG
           
USR1
           
USR2
           
VTALRM
           
WINCH
           
XCPU
           
XFSZ
           
 
Method Summary
static Signal get(String name)
           
 int getNumeric()
           
static Signal valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Signal[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HUP

public static final Signal HUP

INT

public static final Signal INT

QUIT

public static final Signal QUIT

ILL

public static final Signal ILL

TRAP

public static final Signal TRAP

IOT

public static final Signal IOT

BUS

public static final Signal BUS

FPE

public static final Signal FPE

KILL

public static final Signal KILL

USR1

public static final Signal USR1

SEGV

public static final Signal SEGV

USR2

public static final Signal USR2

PIPE

public static final Signal PIPE

ALRM

public static final Signal ALRM

TERM

public static final Signal TERM

STKFLT

public static final Signal STKFLT

CHLD

public static final Signal CHLD

CONT

public static final Signal CONT

STOP

public static final Signal STOP

TSTP

public static final Signal TSTP

TTIN

public static final Signal TTIN

TTOU

public static final Signal TTOU

URG

public static final Signal URG

XCPU

public static final Signal XCPU

XFSZ

public static final Signal XFSZ

VTALRM

public static final Signal VTALRM

PROF

public static final Signal PROF

WINCH

public static final Signal WINCH

IO

public static final Signal IO

PWR

public static final Signal PWR
Method Detail

values

public static Signal[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Signal c : Signal.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Signal valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

get

public static Signal get(String name)

getNumeric

public int getNumeric()


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.