Package org.apache.karaf.shell.ssh
Class KarafAgentFactory
- java.lang.Object
-
- org.apache.karaf.shell.ssh.KarafAgentFactory
-
- All Implemented Interfaces:
org.apache.sshd.agent.SshAgentFactory
public class KarafAgentFactory extends Object implements org.apache.sshd.agent.SshAgentFactory
-
-
Constructor Summary
Constructors Constructor Description KarafAgentFactory()
-
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 factoryManager)static KarafAgentFactorygetInstance()voidregisterSession(org.apache.karaf.shell.api.console.Session session)voidunregisterSession(org.apache.karaf.shell.api.console.Session session)
-
-
-
Method Detail
-
getInstance
public static KarafAgentFactory getInstance()
-
getChannelForwardingFactories
public List<org.apache.sshd.common.channel.ChannelFactory> getChannelForwardingFactories(org.apache.sshd.common.FactoryManager factoryManager)
- 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) throws IOException- Specified by:
createClientin interfaceorg.apache.sshd.agent.SshAgentFactory- Throws:
IOException
-
createServer
public org.apache.sshd.agent.SshAgentServer createServer(org.apache.sshd.common.session.ConnectionService service) throws IOException- Specified by:
createServerin interfaceorg.apache.sshd.agent.SshAgentFactory- Throws:
IOException
-
registerSession
public void registerSession(org.apache.karaf.shell.api.console.Session session)
-
unregisterSession
public void unregisterSession(org.apache.karaf.shell.api.console.Session session)
-
-