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 TypeMethodDescriptionvoid
addReference
(Object obj) static SshAgentForwardingListener
getInstance
(String sessionId, ConnectionProtocol connection) int
getPort()
void
removeReference
(Object obj) void
start()
void
stop()
-
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
-