| Modifier and Type | Method and Description |
|---|---|
void |
ChannelSessionAware.setChannelSession(ChannelSession session)
Receives the channel in which the command is being executed.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ChannelDataReceiver.data(ChannelSession channel,
byte[] buf,
int start,
int len)
Called when the server receives additional bytes from the client.
|
int |
PipeDataReceiver.data(ChannelSession channel,
byte[] buf,
int start,
int len) |
int |
AsyncDataReceiver.data(ChannelSession channel,
byte[] buf,
int start,
int len) |
| Modifier and Type | Method and Description |
|---|---|
Command |
CommandFactory.createCommand(ChannelSession channel,
java.lang.String command)
Create a command with the given name.
|
Command |
AbstractDelegatingCommandFactory.createCommand(ChannelSession channel,
java.lang.String command) |
void |
AbstractCommandSupport.destroy(ChannelSession channel) |
void |
CommandLifecycle.destroy(ChannelSession channel)
This method is called by the SSH server to destroy the command because the client has disconnected somehow.
|
void |
AbstractFileSystemCommand.destroy(ChannelSession channel) |
void |
AbstractCommandSupport.start(ChannelSession channel,
Environment env) |
void |
CommandLifecycle.start(ChannelSession channel,
Environment env)
Starts the command execution.
|
| Modifier and Type | Field and Description |
|---|---|
protected ChannelSession |
ScpShell.channel |
| Modifier and Type | Method and Description |
|---|---|
Command |
ScpCommandFactory.createShell(ChannelSession channel) |
void |
ScpCommand.start(ChannelSession channel,
Environment env) |
| Constructor and Description |
|---|
ScpShell(ChannelSession channel,
CloseableExecutorService executorService,
int sendSize,
int receiveSize,
ScpFileOpener fileOpener,
ScpTransferEventListener eventListener) |
| Modifier and Type | Field and Description |
|---|---|
private ChannelSession |
ProcessShell.channel |
| Modifier and Type | Method and Description |
|---|---|
ChannelSession |
ProcessShell.getChannelSession() |
ChannelSession |
InvertedShell.getChannelSession() |
| Modifier and Type | Method and Description |
|---|---|
Command |
ProcessShellCommandFactory.createCommand(ChannelSession channel,
java.lang.String command) |
Command |
UnknownCommandFactory.createCommand(ChannelSession channel,
java.lang.String command) |
protected InvertedShell |
ProcessShellFactory.createInvertedShell(ChannelSession channel) |
Command |
ProcessShellFactory.createShell(ChannelSession channel) |
Command |
ShellFactory.createShell(ChannelSession channel) |
void |
ProcessShell.destroy(ChannelSession channel) |
void |
InvertedShellWrapper.destroy(ChannelSession channel) |
void |
UnknownCommand.destroy(ChannelSession channel) |
protected java.util.List<java.lang.String> |
ProcessShellFactory.resolveEffectiveCommand(ChannelSession channel,
java.lang.String rawCommand,
java.util.List<java.lang.String> parsedElements) |
protected java.util.List<java.lang.String> |
InteractiveProcessShellFactory.resolveEffectiveCommand(ChannelSession channel,
java.lang.String rawCommand,
java.util.List<java.lang.String> parsedElements) |
void |
ProcessShell.start(ChannelSession channel,
Environment env) |
void |
InvertedShellWrapper.start(ChannelSession channel,
Environment env) |
void |
UnknownCommand.start(ChannelSession channel,
Environment env) |
| Modifier and Type | Method and Description |
|---|---|
Command |
SubsystemFactory.createSubsystem(ChannelSession channel) |
static Command |
SubsystemFactory.createSubsystem(ChannelSession channel,
java.util.Collection<? extends SubsystemFactory> factories,
java.lang.String name) |
| Modifier and Type | Field and Description |
|---|---|
protected ChannelSession |
SftpSubsystem.channelSession |
| Modifier and Type | Method and Description |
|---|---|
Command |
SftpSubsystemFactory.createSubsystem(ChannelSession channel) |
int |
SftpSubsystem.data(ChannelSession channel,
byte[] buf,
int start,
int len) |
void |
SftpSubsystem.destroy(ChannelSession channel) |
void |
SftpSubsystem.setChannelSession(ChannelSession session) |
void |
SftpSubsystem.start(ChannelSession channel,
Environment env) |