public class AgentClient extends AbstractAgentProxy implements Runnable
log
SSH_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, createBuffer, getExecutorService, getIdentities, isShutdownOnExit, prepare, removeAllIdentities, removeIdentity, setExecutorService, setShutdownOnExit, sign
public AgentClient(String authSocket) throws IOException
IOException
public AgentClient(String authSocket, ExecutorService executor, boolean shutdownOnExit) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Channel
close
in class AbstractAgentProxy
IOException
protected Buffer request(Buffer buffer) throws IOException
request
in class AbstractAgentProxy
IOException
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.