Uses of Class
org.apache.sshd.server.channel.ChannelSession
Packages that use ChannelSession
Package
Description
-
Uses of ChannelSession in org.apache.sshd.scp.server
Fields in org.apache.sshd.scp.server declared as ChannelSessionModifier and TypeFieldDescriptionprivate final ChannelSessionScpCommand.channelSessionprivate final ChannelSessionScpShell.channelSessionMethods in org.apache.sshd.scp.server that return ChannelSessionModifier and TypeMethodDescriptionScpCommand.getServerChannelSession()ScpShell.getServerChannelSession()Methods in org.apache.sshd.scp.server with parameters of type ChannelSessionModifier and TypeMethodDescriptionScpCommandFactory.createShell(ChannelSession channel) protected CommandScpCommandFactory.executeSupportedCommand(ChannelSession channel, String command) booleanScpCommandFactory.isSupportedCommand(ChannelSession channel, String command) ScpCommandFactory.selectShellFactory(ChannelSession channelSession) voidScpCommand.start(ChannelSession channel, Environment env) Constructors in org.apache.sshd.scp.server with parameters of type ChannelSessionModifierConstructorDescriptionScpCommand(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) -
Uses of ChannelSession in org.apache.sshd.server.channel
Methods in org.apache.sshd.server.channel that return ChannelSessionMethods in org.apache.sshd.server.channel with parameters of type ChannelSessionModifier and TypeMethodDescriptionintAsyncDataReceiver.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 ChannelSessionModifier and TypeMethodDescriptionAbstractDelegatingCommandFactory.createCommand(ChannelSession channel, String command) CommandFactory.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
Fields in org.apache.sshd.server.shell declared as ChannelSessionMethods in org.apache.sshd.server.shell that return ChannelSessionMethods in org.apache.sshd.server.shell with parameters of type ChannelSessionModifier and TypeMethodDescriptionProcessShellCommandFactory.createCommand(ChannelSession channel, String command) UnknownCommandFactory.createCommand(ChannelSession channel, String command) protected InvertedShellProcessShellFactory.createInvertedShell(ChannelSession channel) AggregateShellFactory.createShell(ChannelSession channel) ProcessShellFactory.createShell(ChannelSession channel) ShellFactory.createShell(ChannelSession channel) voidInvertedShellWrapper.destroy(ChannelSession channel) voidProcessShell.destroy(ChannelSession channel) voidUnknownCommand.destroy(ChannelSession channel) InteractiveProcessShellFactory.resolveEffectiveCommand(ChannelSession channel, String rawCommand, List<String> parsedElements) ProcessShellFactory.resolveEffectiveCommand(ChannelSession channel, String rawCommand, List<String> parsedElements) AggregateShellFactory.selectShellFactory(ChannelSession channel) static ShellFactoryShellFactorySelector.selectShellFactory(Collection<? extends ShellFactorySelector> selectors, ChannelSession channel) Consults each selector whether it wants to provide a factory for theChannelSessionShellFactorySelector.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 ChannelSessionModifier and TypeMethodDescriptionSubsystemFactory.createSubsystem(ChannelSession channel) static CommandSubsystemFactory.createSubsystem(ChannelSession channel, Collection<? extends SubsystemFactory> factories, String name) -
Uses of ChannelSession in org.apache.sshd.sftp.server
Fields in org.apache.sshd.sftp.server declared as ChannelSessionModifier and TypeFieldDescriptionprivate final ChannelSessionAbstractSftpSubsystemHelper.channelSessionMethods in org.apache.sshd.sftp.server that return ChannelSessionMethods in org.apache.sshd.sftp.server with parameters of type ChannelSessionModifier and TypeMethodDescriptionSftpSubsystemFactory.createSubsystem(ChannelSession channel) intSftpSubsystem.data(ChannelSession channel, byte[] buf, int start, int len) voidSftpSubsystem.destroy(ChannelSession channel) protected OpenSSHLimitsExtensionInfoAbstractSftpSubsystemHelper.getOpenSSHLimitsExtensionInfo(int id, ChannelSession channel) protected voidSftpSubsystem.initializeSessionRelatedMember(ServerSession session, ChannelSession channel) protected ChannelDataReceiverSftpSubsystem.resolveErrorDataChannelReceiver(ChannelSession channelSession, ChannelDataReceiver receiver) voidSftpSubsystem.start(ChannelSession channel, Environment env) Constructors in org.apache.sshd.sftp.server with parameters of type ChannelSessionModifierConstructorDescriptionprotectedAbstractSftpSubsystemHelper(ChannelSession channelSession, SftpSubsystemConfigurator configurator) SftpSubsystem(ChannelSession channel, SftpSubsystemConfigurator configurator)