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 protectedAbstractAgentClient(SshAgent agent)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidmessageReceived(Buffer message)protected Bufferprepare(Buffer buf)protected voidprocess(int cmd, Buffer req, Buffer rep)protected abstract voidreply(Buffer buf)
-
-
-
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
-
-