Package org.apache.sshd.agent.local
Class AgentServerProxy
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.agent.local.AgentServerProxy
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Channel
,SshAgentServer
The server side fake agent, acting as an agent, but actually forwarding the requests to the auth channel on the
client side.
-
Field Summary
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AgentServerProxy
- Throws:
IOException
-
-
Method Details
-
createClient
- Throws:
IOException
-
getId
- Specified by:
getId
in interfaceSshAgentServer
- Returns:
- Agent server identifier
-
isOpen
public boolean isOpen() -
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceChannel
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-