Class SingleCloudSshAgentFactory<K extends CloudKeyInfo>
- java.lang.Object
-
- com.antonzhdanov.apache.sshd.agent.SingleCloudSshAgentFactory<K>
-
- All Implemented Interfaces:
CloudSshAgentFactory<K>,org.apache.sshd.agent.SshAgentFactory
public class SingleCloudSshAgentFactory<K extends CloudKeyInfo> extends Object implements CloudSshAgentFactory<K>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.antonzhdanov.apache.sshd.agent.CloudSshAgentFactory
CloudSshAgentFactory.NoExceptionAutoCloseable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.sshd.agent.SshAgentcreateClient(org.apache.sshd.common.session.Session session, org.apache.sshd.common.FactoryManager manager)org.apache.sshd.agent.SshAgentServercreateServer(org.apache.sshd.common.session.ConnectionService service)List<org.apache.sshd.common.channel.ChannelFactory>getChannelForwardingFactories(org.apache.sshd.common.FactoryManager manager)static <T extends CloudKeyInfo>
CloudSshAgentFactory<T>of(CloudSshAgentProvider<T> agentProvider)CloudSshAgentFactory.NoExceptionAutoCloseablewithKeyInfo(org.apache.sshd.common.session.Session session, K keyInfo)
-
-
-
Method Detail
-
of
public static <T extends CloudKeyInfo> CloudSshAgentFactory<T> of(CloudSshAgentProvider<T> agentProvider)
-
getChannelForwardingFactories
public List<org.apache.sshd.common.channel.ChannelFactory> getChannelForwardingFactories(org.apache.sshd.common.FactoryManager manager)
- Specified by:
getChannelForwardingFactoriesin interfaceorg.apache.sshd.agent.SshAgentFactory
-
createClient
public org.apache.sshd.agent.SshAgent createClient(org.apache.sshd.common.session.Session session, org.apache.sshd.common.FactoryManager manager)- Specified by:
createClientin interfaceCloudSshAgentFactory<K extends CloudKeyInfo>- Specified by:
createClientin interfaceorg.apache.sshd.agent.SshAgentFactory
-
createServer
public org.apache.sshd.agent.SshAgentServer createServer(org.apache.sshd.common.session.ConnectionService service)
- Specified by:
createServerin interfaceCloudSshAgentFactory<K extends CloudKeyInfo>- Specified by:
createServerin interfaceorg.apache.sshd.agent.SshAgentFactory
-
withKeyInfo
public CloudSshAgentFactory.NoExceptionAutoCloseable withKeyInfo(org.apache.sshd.common.session.Session session, K keyInfo)
- Specified by:
withKeyInfoin interfaceCloudSshAgentFactory<K extends CloudKeyInfo>
-
-