Package org.apache.sshd.server.session
Interface ServerSessionAware
-
- All Known Subinterfaces:
InvertedShell
- All Known Implementing Classes:
AbstractCommandSupport,AbstractFileSystemCommand,InvertedShellWrapper,ProcessShell
- 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 ServerSessionAware
Interface that can be implemented by a command to be able to access the server session in which this command will be used.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetSession(ServerSession session)
-
-
-
Method Detail
-
setSession
void setSession(ServerSession session)
- Parameters:
session- TheServerSessionin which this shell will be executed.
-
-