Uses of Class
org.apache.sshd.server.channel.ChannelSession
-
-
Uses of ChannelSession in org.apache.sshd.scp.server
Fields in org.apache.sshd.scp.server declared as ChannelSession Modifier and Type Field Description private ChannelSessionScpCommand. channelSessionprivate ChannelSessionScpShell. channelSessionMethods in org.apache.sshd.scp.server that return ChannelSession Modifier and Type Method Description ChannelSessionScpCommand. getServerChannelSession()ChannelSessionScpShell. getServerChannelSession()Methods in org.apache.sshd.scp.server with parameters of type ChannelSession Modifier and Type Method Description CommandScpCommandFactory. createShell(ChannelSession channel)protected CommandScpCommandFactory. executeSupportedCommand(ChannelSession channel, java.lang.String command)booleanScpCommandFactory. isSupportedCommand(ChannelSession channel, java.lang.String command)ShellFactoryScpCommandFactory. selectShellFactory(ChannelSession channelSession)voidScpCommand. start(ChannelSession channel, Environment env)Constructors in org.apache.sshd.scp.server with parameters of type ChannelSession Constructor Description ScpCommand(ChannelSession channelSession, java.lang.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 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, java.lang.String command)CommandCommandFactory. createCommand(ChannelSession channel, java.lang.String command)Create a command with the given name.protected CommandAbstractDelegatingCommandFactory. createUnsupportedCommand(ChannelSession channel, java.lang.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, java.lang.String command)abstract booleanAbstractDelegatingCommandFactory. isSupportedCommand(ChannelSession channel, java.lang.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 ChannelSession Modifier and Type Field Description private ChannelSessionProcessShell. channelSessionMethods 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, java.lang.String command)CommandUnknownCommandFactory. createCommand(ChannelSession channel, java.lang.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 java.util.List<java.lang.String>InteractiveProcessShellFactory. resolveEffectiveCommand(ChannelSession channel, java.lang.String rawCommand, java.util.List<java.lang.String> parsedElements)protected java.util.List<java.lang.String>ProcessShellFactory. resolveEffectiveCommand(ChannelSession channel, java.lang.String rawCommand, java.util.List<java.lang.String> parsedElements)ShellFactoryAggregateShellFactory. selectShellFactory(ChannelSession channel)static ShellFactoryShellFactorySelector. selectShellFactory(java.util.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, java.util.Collection<? extends SubsystemFactory> factories, java.lang.String name) -
Uses of ChannelSession in org.apache.sshd.sftp.server
Fields in org.apache.sshd.sftp.server declared as ChannelSession Modifier and Type Field Description private ChannelSessionAbstractSftpSubsystemHelper. channelSessionMethods in org.apache.sshd.sftp.server that return ChannelSession Modifier and Type Method Description ChannelSessionAbstractSftpSubsystemHelper. getServerChannelSession()Methods in org.apache.sshd.sftp.server with parameters of type ChannelSession Modifier and Type Method Description CommandSftpSubsystemFactory. createSubsystem(ChannelSession channel)intSftpSubsystem. data(ChannelSession channel, byte[] buf, int start, int len)voidSftpSubsystem. destroy(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 ChannelSession Constructor Description AbstractSftpSubsystemHelper(ChannelSession channelSession, SftpSubsystemConfigurator configurator)SftpSubsystem(ChannelSession channel, SftpSubsystemConfigurator configurator)
-