Package com.sshtools.j2ssh.agent
Class SshAgentForwardingListener
java.lang.Object
com.sshtools.j2ssh.agent.SshAgentForwardingListener
- Version:
- $Revision: 1.16 $
- Author:
- $author$
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddReference(Object obj) static SshAgentForwardingListenergetInstance(String sessionId, ConnectionProtocol connection) intgetPort()voidremoveReference(Object obj) voidstart()voidstop()
-
Method Details
-
getConfiguration
- Returns:
-
addReference
- Parameters:
obj-
-
removeReference
- Parameters:
obj-
-
start
- Throws:
IOException
-
getPort
public int getPort()- Returns:
-
stop
public void stop() -
getInstance
public static SshAgentForwardingListener getInstance(String sessionId, ConnectionProtocol connection) throws AgentNotAvailableException - Parameters:
sessionId-connection-- Returns:
- Throws:
AgentNotAvailableException
-