class Net::SSH::Connection::EventLoop

def process_only(session, wait = nil)

process the event loop but only for the sepcified session
def process_only(session, wait = nil)
  orig_sessions = @sessions
  begin
    @sessions = [session]
    return false unless ev_preprocess
    ev_select_and_postprocess(wait)
  ensure
    @sessions = orig_sessions
  end
end