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.
@FunctionalInterface public interface ChannelSessionAware
Command
can implement this optional interface to receive a reference toChannelSession
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setChannelSession(ChannelSession session)
Receives the channel in which the command is being executed.
-
-
-
Method Detail
-
setChannelSession
void setChannelSession(ChannelSession session)
Receives the channel in which the command is being executed.- Parameters:
session
- never null
-
-