| 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 | Field and Description |
|---|---|
protected Command |
ChannelSession.commandInstance |
| Modifier and Type | Method and Description |
|---|---|
protected Command |
ChannelSession.prepareCommand(String requestType,
Command command)
Called by
ChannelSession.prepareChannelCommand(String, Command) in order to set up the command's streams, session,
file-system, exit callback, etc.. |
| Modifier and Type | Method and Description |
|---|---|
protected RequestHandler.Result |
ChannelSession.prepareChannelCommand(String request,
Command cmd) |
protected Command |
ChannelSession.prepareCommand(String requestType,
Command command)
Called by
ChannelSession.prepareChannelCommand(String, Command) in order to set up the command's streams, session,
file-system, exit callback, etc.. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AsyncCommand
Represents a command capable of doing non-blocking io.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCommandSupport
Provides a basic useful skeleton for
Command executions |
class |
AbstractFileSystemCommand
Provides a basic useful skeleton for
Command executions that require file system access |
| 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) |
protected abstract Command |
AbstractDelegatingCommandFactory.executeSupportedCommand(ChannelSession channel,
String command) |
| Modifier and Type | Class and Description |
|---|---|
class |
InvertedShellWrapper
A shell implementation that wraps an instance of
InvertedShell as a Command. |
class |
UnknownCommand
Implementation of an unknown command that can be returned by
CommandFactory when the command is not
known, as it is supposed to always return a valid Command object. |
| Modifier and Type | Method and Description |
|---|---|
Command |
UnknownCommandFactory.createCommand(ChannelSession channel,
String command) |
Command |
ProcessShellCommandFactory.createCommand(ChannelSession channel,
String command) |
Command |
ProcessShellFactory.createShell(ChannelSession channel) |
Command |
AggregateShellFactory.createShell(ChannelSession channel) |
Command |
ShellFactory.createShell(ChannelSession channel) |
| 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.