Class AbstractAgentClient

    • Field Detail

      • buffer

        private final Buffer buffer
    • 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