Package org.apache.sshd.agent.common
Class AbstractAgentClient
- java.lang.Object
-
- org.apache.sshd.common.util.logging.AbstractLoggingBean
-
- org.apache.sshd.agent.common.AbstractAgentClient
-
- Direct Known Subclasses:
ChannelAgentForwarding.AgentClient
public abstract class AbstractAgentClient extends AbstractLoggingBean
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractAgentClient(SshAgent agent)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
messageReceived(Buffer message)
protected Buffer
prepare(Buffer buf)
protected void
process(int cmd, Buffer req, Buffer rep)
protected abstract void
reply(Buffer buf)
-
Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
getSimplifiedLogger
-
-
-
-
Constructor Detail
-
AbstractAgentClient
protected AbstractAgentClient(SshAgent agent)
-
-
Method Detail
-
messageReceived
public void messageReceived(Buffer message) throws java.io.IOException
- Throws:
java.io.IOException
-
process
protected void process(int cmd, Buffer req, Buffer rep) throws java.lang.Exception
- Throws:
java.lang.Exception
-
reply
protected abstract void reply(Buffer buf) throws java.io.IOException
- Throws:
java.io.IOException
-
-