# File lib/net/sftp/protocol/01/impl.rb, line 189 def dispatch( channel, type, content ) case type when FXP_STATUS then do_status( channel, content ) when FXP_HANDLE then do_handle( channel, content ) when FXP_DATA then do_data( channel, content ) when FXP_NAME then do_name( channel, content ) when FXP_ATTRS then do_attrs( channel, content ) else raise Net::SFTP::Exception, "unsupported SFTP packet type #{type} (#{content.to_s.inspect})" end end