| Package | Description |
|---|---|
| org.apache.sshd.server.channel | |
| org.apache.sshd.server.command | |
| org.apache.sshd.server.shell | |
| org.apache.sshd.server.subsystem |
| Modifier and Type | Method and Description |
|---|---|
ChannelSession |
ServerChannelSessionHolder.getServerChannelSession() |
| Modifier and Type | Method and Description |
|---|---|
int |
AsyncDataReceiver.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 |
PipeDataReceiver.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 |
CommandLifecycle.destroy(ChannelSession channel)
This method is called by the SSH server to destroy the command because the client has disconnected somehow.
|
void |
AbstractCommandSupport.destroy(ChannelSession channel) |
void |
AbstractFileSystemCommand.destroy(ChannelSession channel) |
protected abstract Command |
AbstractDelegatingCommandFactory.executeSupportedCommand(ChannelSession channel,
String command) |
abstract boolean |
AbstractDelegatingCommandFactory.isSupportedCommand(ChannelSession channel,
String command) |
void |
CommandLifecycle.start(ChannelSession channel,
Environment env)
Starts the command execution.
|
void |
AbstractCommandSupport.start(ChannelSession channel,
Environment env) |
| 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 |
ProcessShellFactory.createShell(ChannelSession channel) |
Command |
AggregateShellFactory.createShell(ChannelSession channel) |
Command |
ShellFactory.createShell(ChannelSession channel) |
void |
ProcessShell.destroy(ChannelSession channel) |
void |
InvertedShellWrapper.destroy(ChannelSession channel) |
void |
UnknownCommand.destroy(ChannelSession channel) |
protected List<String> |
ProcessShellFactory.resolveEffectiveCommand(ChannelSession channel,
String rawCommand,
List<String> parsedElements) |
protected List<String> |
InteractiveProcessShellFactory.resolveEffectiveCommand(ChannelSession channel,
String rawCommand,
List<String> parsedElements) |
ShellFactory |
ShellFactorySelector.selectShellFactory(ChannelSession channelSession) |
ShellFactory |
AggregateShellFactory.selectShellFactory(ChannelSession channel) |
static ShellFactory |
ShellFactorySelector.selectShellFactory(Collection<? extends ShellFactorySelector> selectors,
ChannelSession channel)
Consults each selector whether it wants to provide a factory for the
ChannelSession |
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,
Collection<? extends SubsystemFactory> factories,
String name) |
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.