public class AgentServerProxy extends AbstractLoggingBean implements SshAgentServer
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
id |
private java.util.concurrent.atomic.AtomicBoolean |
open |
private ConnectionService |
service |
logCHANNEL_OPEN_TIMEOUT_PROP, DEFAULT_CHANNEL_OPEN_TIMEOUT, DEFAULT_PROXY_CHANNEL_TYPE, PROXY_CHANNEL_TYPE| Constructor and Description |
|---|
AgentServerProxy(ConnectionService service) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
SshAgent |
createClient() |
java.lang.String |
getId() |
boolean |
isOpen() |
getSimplifiedLoggerprivate final ConnectionService service
private final java.lang.String id
private final java.util.concurrent.atomic.AtomicBoolean open
public AgentServerProxy(ConnectionService service) throws java.io.IOException
java.io.IOExceptionpublic SshAgent createClient() throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getId()
getId in interface SshAgentServerpublic boolean isOpen()
isOpen in interface java.nio.channels.Channelpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface java.nio.channels.Channeljava.io.IOException