Package org.apache.sshd.agent.unix
Class AgentServer
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.agent.unix.AgentServer
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ExecutorServiceCarrier
A server for an SSH Agent
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
Constructor Summary
ConstructorDescriptionAgentServer
(SshAgent agent, CloseableExecutorService executor) AgentServer
(CloseableExecutorService executor) -
Method Summary
-
Constructor Details
-
AgentServer
public AgentServer() -
AgentServer
-
AgentServer
-
-
Method Details
-
getAgent
-
getExecutorService
- Specified by:
getExecutorService
in interfaceExecutorServiceCarrier
-
start
- Throws:
Exception
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-