Package org.apache.sshd.server
Interface ChannelSessionAware
- All Known Implementing Classes:
SftpSubsystem
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Command
can implement this optional interface to receive a reference to ChannelSession
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
setChannelSession
(ChannelSession session) Receives the channel in which the command is being executed.
-
Method Details
-
setChannelSession
Receives the channel in which the command is being executed.- Parameters:
session
- never null
-