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
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final AtomicBooleanprivate final ConnectionServiceFields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
service
-
id
-
open
-
-
Constructor Details
-
AgentServerProxy
- Throws:
IOException
-
-
Method Details
-
createClient
- Throws:
IOException
-
getId
- Specified by:
getIdin interfaceSshAgentServer- Returns:
- Agent server identifier
-
isOpen
public boolean isOpen() -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceChannel- Specified by:
closein interfaceCloseable- Throws:
IOException
-