Modifier and Type | Method and Description |
---|---|
ChannelSession |
ScpShell.getServerChannelSession() |
ChannelSession |
ScpCommand.getServerChannelSession() |
Modifier and Type | Method and Description |
---|---|
Command |
ScpCommandFactory.createShell(ChannelSession channel) |
protected Command |
ScpCommandFactory.executeSupportedCommand(ChannelSession channel,
String command) |
boolean |
ScpCommandFactory.isSupportedCommand(ChannelSession channel,
String command) |
ShellFactory |
ScpCommandFactory.selectShellFactory(ChannelSession channelSession) |
void |
ScpCommand.start(ChannelSession channel,
Environment env) |
Constructor and Description |
---|
ScpCommand(ChannelSession channelSession,
String command,
CloseableExecutorService executorService,
int sendSize,
int receiveSize,
ScpFileOpener fileOpener,
ScpTransferEventListener eventListener) |
ScpShell(ChannelSession channelSession,
CloseableExecutorService executorService,
int sendSize,
int receiveSize,
ScpFileOpener fileOpener,
ScpTransferEventListener eventListener) |
Modifier and Type | Method and Description |
---|---|
ChannelSession |
ServerChannelSessionHolder.getServerChannelSession() |
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) |
void |
ChannelSessionAware.setChannelSession(ChannelSession session)
Receives the channel in which the command is being executed.
|
Modifier and Type | Method and Description |
---|---|
Command |
CommandFactory.createCommand(ChannelSession channel,
String command)
Create a command with the given name.
|
Command |
AbstractDelegatingCommandFactory.createCommand(ChannelSession channel,
String command) |
protected Command |
AbstractDelegatingCommandFactory.createUnsupportedCommand(ChannelSession channel,
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) |
protected abstract Command |
AbstractDelegatingCommandFactory.executeSupportedCommand(ChannelSession channel,
String command) |
abstract boolean |
AbstractDelegatingCommandFactory.isSupportedCommand(ChannelSession channel,
String command) |
void |
AbstractCommandSupport.start(ChannelSession channel,
Environment env) |
void |
CommandLifecycle.start(ChannelSession channel,
Environment env)
Starts the command execution.
|
Modifier and Type | Method and Description |
---|---|
ChannelSession |
ProcessShell.getServerChannelSession() |
Modifier and Type | Method and Description |
---|---|
Command |
UnknownCommandFactory.createCommand(ChannelSession channel,
String command) |
Command |
ProcessShellCommandFactory.createCommand(ChannelSession channel,
String command) |
protected InvertedShell |
ProcessShellFactory.createInvertedShell(ChannelSession channel) |
Command |
AggregateShellFactory.createShell(ChannelSession channel) |
Command |
ProcessShellFactory.createShell(ChannelSession channel) |
Command |
ShellFactory.createShell(ChannelSession channel) |
void |
UnknownCommand.destroy(ChannelSession channel) |
void |
InvertedShellWrapper.destroy(ChannelSession channel) |
void |
ProcessShell.destroy(ChannelSession channel) |
protected List<String> |
InteractiveProcessShellFactory.resolveEffectiveCommand(ChannelSession channel,
String rawCommand,
List<String> parsedElements) |
protected List<String> |
ProcessShellFactory.resolveEffectiveCommand(ChannelSession channel,
String rawCommand,
List<String> parsedElements) |
ShellFactory |
AggregateShellFactory.selectShellFactory(ChannelSession channel) |
ShellFactory |
ShellFactorySelector.selectShellFactory(ChannelSession channelSession) |
static ShellFactory |
ShellFactorySelector.selectShellFactory(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 |
InvertedShellWrapper.start(ChannelSession channel,
Environment env) |
void |
ProcessShell.start(ChannelSession channel,
Environment env) |
Modifier and Type | Method and Description |
---|---|
Command |
SubsystemFactory.createSubsystem(ChannelSession channel) |
static Command |
SubsystemFactory.createSubsystem(ChannelSession channel,
Collection<? extends SubsystemFactory> factories,
String name) |
Modifier and Type | Method and Description |
---|---|
ChannelSession |
AbstractSftpSubsystemHelper.getServerChannelSession() |
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) |
protected OpenSSHLimitsExtensionInfo |
AbstractSftpSubsystemHelper.getOpenSSHLimitsExtensionInfo(int id,
ChannelSession channel) |
protected void |
SftpSubsystem.initializeSessionRelatedMember(ServerSession session,
ChannelSession channel) |
protected ChannelDataReceiver |
SftpSubsystem.resolveErrorDataChannelReceiver(ChannelSession channelSession,
ChannelDataReceiver receiver) |
void |
SftpSubsystem.start(ChannelSession channel,
Environment env) |
Constructor and Description |
---|
AbstractSftpSubsystemHelper(ChannelSession channelSession,
SftpSubsystemConfigurator configurator) |
SftpSubsystem(ChannelSession channel,
SftpSubsystemConfigurator configurator) |
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.