Package org.apache.sshd.common.session
Interface SessionHolder<S extends Session>
-
- Type Parameters:
S
- Type ofSession
being held
- All Superinterfaces:
SessionContextHolder
- All Known Subinterfaces:
Channel
,ClientChannel
,ConnectFuture
,ConnectionService
,InvertedShell
,KeyExchange
,ServerChannel
,Service
,SubsystemClient
- All Known Implementing Classes:
AbstractChannel
,AbstractClientChannel
,AbstractCommandSupport
,AbstractConnectionService
,AbstractDHClientKeyExchange
,AbstractDHKeyExchange
,AbstractDHServerKeyExchange
,AbstractFileSystemCommand
,AbstractKeyPairIterator
,AbstractServerChannel
,AbstractSubsystemClient
,AgentForwardedChannel
,AgentForwardedChannel
,ChannelAgentForwarding
,ChannelAgentForwarding
,ChannelDirectTcpip
,ChannelExec
,ChannelForwardedX11
,ChannelSession
,ChannelSession
,ChannelShell
,ChannelSubsystem
,ClientConnectionService
,ClientUserAuthService
,DefaultConnectFuture
,DefaultForwarder
,DHGClient
,DHGEXClient
,DHGEXServer
,DHGServer
,DynamicPortForwardingTracker
,ExplicitPortForwardingTracker
,PortForwardingTracker
,ProcessShell
,PtyCapableChannelSession
,ServerConnectionService
,ServerUserAuthService
,SessionKeyPairIterator
,SessionWorkBuffer
,SshAgentPublicKeyIterator
,TcpipClientChannel
,TcpipServerChannel
,UserAuthPublicKeyIterator
- 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 SessionHolder<S extends Session> extends SessionContextHolder
- Author:
- Apache MINA SSHD Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description S
getSession()
default SessionContext
getSessionContext()
-
-
-
Method Detail
-
getSessionContext
default SessionContext getSessionContext()
- Specified by:
getSessionContext
in interfaceSessionContextHolder
-
getSession
S getSession()
-
-