Interface SessionHolder<S extends Session>
- Type Parameters:
S- Type ofSessionbeing held
- All Superinterfaces:
org.apache.sshd.common.session.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, AsyncCapableClientChannel, 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 org.apache.sshd.common.session.SessionContextHolder
- Author:
- Apache MINA SSHD Project
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.apache.sshd.common.session.SessionContext
-
Method Details
-
getSessionContext
default org.apache.sshd.common.session.SessionContext getSessionContext()- Specified by:
getSessionContextin interfaceorg.apache.sshd.common.session.SessionContextHolder
-
getSession
S getSession()
-