Package | Description |
---|---|
org.apache.sshd.server |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Signal,java.util.Collection<SignalListener>> |
StandardEnvironment.listeners |
static java.util.NavigableMap<java.lang.String,Signal> |
Signal.NAME_LOOKUP_TABLE
An un-modifiable case-insensitive
NavigableMap of the names of all available Signal s |
static java.util.NavigableMap<java.lang.Integer,Signal> |
Signal.NUMERIC_LOOKUP_TABLE
An un-modifiable
NavigableMap of the numeric values of all available Signal s |
static java.util.Set<Signal> |
Signal.SIGNALS
An un-modifiable
Set of all the available Signal s |
Modifier and Type | Method and Description |
---|---|
static Signal |
Signal.get(int num)
Retrieves a signal value given its numeric value
|
static Signal |
Signal.get(java.lang.String name)
Retrieves a signal value given its name
|
static Signal |
Signal.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Signal[] |
Signal.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
default void |
Environment.addSignalListener(SignalListener listener,
Signal... signals)
Add a qualified listener for the specific signals
|
protected java.util.Collection<SignalListener> |
StandardEnvironment.getSignalListeners(Signal signal,
boolean create)
Retrieves the set of listeners registered for a signal
|
void |
SignalListener.signal(Channel channel,
Signal signal) |
void |
StandardEnvironment.signal(Channel channel,
Signal signal) |
Modifier and Type | Method and Description |
---|---|
void |
Environment.addSignalListener(SignalListener listener,
java.util.Collection<Signal> signals)
Add a qualified listener for the specific signals
|
void |
StandardEnvironment.addSignalListener(SignalListener listener,
java.util.Collection<Signal> signals) |