Uses of Class
org.apache.sshd.server.channel.ChannelSession
-
Packages that use ChannelSession Package Description org.apache.sshd.server.channel org.apache.sshd.server.command org.apache.sshd.server.shell org.apache.sshd.server.subsystem -
-
Uses of ChannelSession in org.apache.sshd.server.channel
Methods in org.apache.sshd.server.channel that return ChannelSession Modifier and Type Method Description ChannelSessionServerChannelSessionHolder. getServerChannelSession()Methods in org.apache.sshd.server.channel with parameters of type ChannelSession Modifier and Type Method Description intAsyncDataReceiver. data(ChannelSession channel, byte[] buf, int start, int len)intChannelDataReceiver. data(ChannelSession channel, byte[] buf, int start, int len)Called when the server receives additional bytes from the client.intPipeDataReceiver. data(ChannelSession channel, byte[] buf, int start, int len)voidChannelSessionAware. setChannelSession(ChannelSession session)Receives the channel in which the command is being executed. -
Uses of ChannelSession in org.apache.sshd.server.command
Methods in org.apache.sshd.server.command with parameters of type ChannelSession Modifier and Type Method Description CommandAbstractDelegatingCommandFactory. createCommand(ChannelSession channel, String command)CommandCommandFactory. createCommand(ChannelSession channel, String command)Create a command with the given name.protected CommandAbstractDelegatingCommandFactory. createUnsupportedCommand(ChannelSession channel, String command)voidAbstractCommandSupport. destroy(ChannelSession channel)voidAbstractFileSystemCommand. destroy(ChannelSession channel)voidCommandLifecycle. destroy(ChannelSession channel)This method is called by the SSH server to destroy the command because the client has disconnected somehow.protected abstract CommandAbstractDelegatingCommandFactory. executeSupportedCommand(ChannelSession channel, String command)abstract booleanAbstractDelegatingCommandFactory. isSupportedCommand(ChannelSession channel, String command)voidAbstractCommandSupport. start(ChannelSession channel, Environment env)voidCommandLifecycle. start(ChannelSession channel, Environment env)Starts the command execution. -
Uses of ChannelSession in org.apache.sshd.server.shell
Methods in org.apache.sshd.server.shell that return ChannelSession Modifier and Type Method Description ChannelSessionProcessShell. getServerChannelSession()Methods in org.apache.sshd.server.shell with parameters of type ChannelSession Modifier and Type Method Description CommandProcessShellCommandFactory. createCommand(ChannelSession channel, String command)CommandUnknownCommandFactory. createCommand(ChannelSession channel, String command)protected InvertedShellProcessShellFactory. createInvertedShell(ChannelSession channel)CommandAggregateShellFactory. createShell(ChannelSession channel)CommandProcessShellFactory. createShell(ChannelSession channel)CommandShellFactory. createShell(ChannelSession channel)voidInvertedShellWrapper. destroy(ChannelSession channel)voidProcessShell. destroy(ChannelSession channel)voidUnknownCommand. 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)ShellFactoryAggregateShellFactory. selectShellFactory(ChannelSession channel)static ShellFactoryShellFactorySelector. selectShellFactory(Collection<? extends ShellFactorySelector> selectors, ChannelSession channel)Consults each selector whether it wants to provide a factory for theChannelSessionShellFactoryShellFactorySelector. selectShellFactory(ChannelSession channelSession)voidInvertedShellWrapper. start(ChannelSession channel, Environment env)voidProcessShell. start(ChannelSession channel, Environment env)voidUnknownCommand. start(ChannelSession channel, Environment env) -
Uses of ChannelSession in org.apache.sshd.server.subsystem
Methods in org.apache.sshd.server.subsystem with parameters of type ChannelSession Modifier and Type Method Description CommandSubsystemFactory. createSubsystem(ChannelSession channel)static CommandSubsystemFactory. createSubsystem(ChannelSession channel, Collection<? extends SubsystemFactory> factories, String name)
-