org.apache.sshd.agent.common
Class AbstractAgentClient

java.lang.Object
  extended by org.apache.sshd.agent.common.AbstractAgentClient
Direct Known Subclasses:
AgentServer.SshAgentSession, ChannelAgentForwarding.AgentClient

public abstract class AbstractAgentClient
extends java.lang.Object


Constructor Summary
AbstractAgentClient(SshAgent agent)
           
 
Method Summary
 void messageReceived(Buffer message)
           
protected  Buffer prepare(Buffer buf)
           
protected  void process(Buffer req, Buffer rep)
           
protected abstract  void reply(Buffer buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAgentClient

public AbstractAgentClient(SshAgent agent)
Method Detail

messageReceived

public void messageReceived(Buffer message)
                     throws java.io.IOException
Throws:
java.io.IOException

process

protected void process(Buffer req,
                       Buffer rep)
                throws java.lang.Exception
Throws:
java.lang.Exception

prepare

protected Buffer prepare(Buffer buf)

reply

protected abstract void reply(Buffer buf)
                       throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.