class Net::SSH::Authentication::Agent

def send_and_wait(type, *args)

(See #send_packet and #read_packet).
Send the given packet and return the subsequent reply from the agent.
def send_and_wait(type, *args)
  send_packet(type, *args)
  read_packet
end