| Package | Description |
|---|---|
| org.apache.sshd.server | |
| 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 |
|---|---|
void |
ChannelSessionAware.setChannelSession(ChannelSession session)
Receives the channel in which the command is being executed.
|
| 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) |
| 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) |
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) |
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 |
InvertedShell.getChannelSession() |
ChannelSession |
ProcessShell.getChannelSession() |
| 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 |
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) |
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–2020 The Apache Software Foundation. All rights reserved.