public class AgentServer extends AbstractLoggingBean implements Closeable, ExecutorServiceCarrier
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AgentServer.SshAgentSession |
log| Constructor and Description |
|---|
AgentServer() |
AgentServer(CloseableExecutorService executor) |
AgentServer(SshAgent agent,
CloseableExecutorService executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
SshAgent |
getAgent() |
CloseableExecutorService |
getExecutorService() |
String |
start() |
public AgentServer()
public AgentServer(CloseableExecutorService executor)
public AgentServer(SshAgent agent, CloseableExecutorService executor)
public SshAgent getAgent()
public CloseableExecutorService getExecutorService()
getExecutorService in interface ExecutorServiceCarrierpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.