Class AgentServer
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.agent.unix.AgentServer
- All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.sshd.common.util.threads.ExecutorServiceCarrier
public class AgentServer
extends org.apache.sshd.common.util.logging.AbstractLoggingBean
implements Closeable, org.apache.sshd.common.util.threads.ExecutorServiceCarrier
A server for an SSH Agent
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log -
Constructor Summary
ConstructorsConstructorDescriptionAgentServer(SshAgent agent, org.apache.sshd.common.util.threads.CloseableExecutorService executor) AgentServer(org.apache.sshd.common.util.threads.CloseableExecutorService executor) -
Method Summary
Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
-
Constructor Details
-
AgentServer
public AgentServer() -
AgentServer
public AgentServer(org.apache.sshd.common.util.threads.CloseableExecutorService executor) -
AgentServer
public AgentServer(SshAgent agent, org.apache.sshd.common.util.threads.CloseableExecutorService executor)
-
-
Method Details
-
getAgent
-
getExecutorService
public org.apache.sshd.common.util.threads.CloseableExecutorService getExecutorService()- Specified by:
getExecutorServicein interfaceorg.apache.sshd.common.util.threads.ExecutorServiceCarrier
-
start
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-