Package org.apache.sshd.server.channel
Interface ChannelSessionAware
- 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
-