public interface ShellListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
allocatePseudoTerminal(java.lang.String term,
int cols,
int rows,
int width,
int height,
byte[] modes)
If the client requests a pseudo terminal for the session this method will
be invoked before the shell, exec or subsystem is started.
|
void |
changeWindowDimensions(int cols,
int rows,
int width,
int height)
When the window (terminal) size changes on the client side, it MAY send
notification in which case this method will be invoked to notify the
session that a change has occurred.
|
void |
processSignal(java.lang.String signal)
A signal can be delivered to the process by the client.
|
boolean |
setEnvironmentVariable(java.lang.String name,
java.lang.String value)
If the client requests that an environment variable be set this method
will be invoked.
|
boolean allocatePseudoTerminal(java.lang.String term,
int cols,
int rows,
int width,
int height,
byte[] modes)
term - cols - rows - width - height - modes - void changeWindowDimensions(int cols,
int rows,
int width,
int height)
cols - rows - width - height - void processSignal(java.lang.String signal)
signal - boolean setEnvironmentVariable(java.lang.String name,
java.lang.String value)
name - value - Copyright © 2022. All rights reserved.