public class AgentClient extends AbstractAgentProxy implements Runnable
logSSH_AUTHSOCKET_ENV_NAME| Constructor and Description |
|---|
AgentClient(String authSocket) |
AgentClient(String authSocket,
ExecutorService executor,
boolean shutdownOnExit) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isOpen() |
protected void |
messageReceived(Buffer buffer) |
protected Buffer |
request(Buffer buffer) |
void |
run() |
addIdentity, createBuffer, getExecutorService, getIdentities, isShutdownOnExit, prepare, removeAllIdentities, removeIdentity, setExecutorService, setShutdownOnExit, signpublic AgentClient(String authSocket) throws IOException
IOExceptionpublic AgentClient(String authSocket, ExecutorService executor, boolean shutdownOnExit) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface Channelclose in class AbstractAgentProxyIOExceptionprotected Buffer request(Buffer buffer) throws IOException
request in class AbstractAgentProxyIOExceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.