# File lib/net/sftp/protocol/driver.rb, line 51 def initialize( connection, buffers, version, dispatchers, log ) @buffers = buffers @version = version @dispatchers = dispatchers @log = log @next_request_id = 0 @next_request_mutex = Mutex.new @parsed_data = nil @on_open = nil @state = :unconfirmed @log.debug "opening channel for sftp" if @log.debug? @channel = connection.open_channel( "session", &method( :do_confirm ) ) end