Modifier and Type | Field and Description |
---|---|
protected ChannelSession |
ScpShell.channel |
Modifier and Type | Method and Description |
---|---|
Command |
ScpCommandFactory.createShell(ChannelSession channel) |
ShellFactory |
ScpCommandFactory.selectShellFactory(ChannelSession channelSession) |
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 | 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 |
PipeDataReceiver.data(ChannelSession channel,
byte[] buf,
int start,
int len) |
int |
ChannelDataReceiver.data(ChannelSession channel,
byte[] buf,
int start,
int len)
Called when the server receives additional bytes from the client.
|
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 |
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.destroy(ChannelSession channel) |
void |
CommandLifecycle.start(ChannelSession channel,
Environment env)
Starts the command execution.
|
void |
AbstractCommandSupport.start(ChannelSession channel,
Environment env) |
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 |
UnknownCommandFactory.createCommand(ChannelSession channel,
java.lang.String command) |
Command |
ProcessShellCommandFactory.createCommand(ChannelSession channel,
java.lang.String command) |
protected InvertedShell |
ProcessShellFactory.createInvertedShell(ChannelSession channel) |
Command |
ShellFactory.createShell(ChannelSession channel) |
Command |
ProcessShellFactory.createShell(ChannelSession channel) |
Command |
AggregateShellFactory.createShell(ChannelSession channel) |
void |
UnknownCommand.destroy(ChannelSession channel) |
void |
ProcessShell.destroy(ChannelSession channel) |
void |
InvertedShellWrapper.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) |
ShellFactory |
ShellFactorySelector.selectShellFactory(ChannelSession channelSession) |
ShellFactory |
AggregateShellFactory.selectShellFactory(ChannelSession channel) |
static ShellFactory |
ShellFactorySelector.selectShellFactory(java.util.Collection<? extends ShellFactorySelector> selectors,
ChannelSession channel)
Consults each selector whether it wants to provide a factory for the
ChannelSession |
void |
UnknownCommand.start(ChannelSession channel,
Environment env) |
void |
ProcessShell.start(ChannelSession channel,
Environment env) |
void |
InvertedShellWrapper.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) |