# File lib/net/sftp/protocol/05/services.rb, line 19 def register_services( container ) container.namespace_define :v_05 do |ns| ns.packet_assistant do |c,| require 'net/sftp/protocol/05/packet-assistant' PacketAssistant.new( c[:transport][:buffers], c[:driver] ) end ns.attr_factory do |c,| require 'net/sftp/protocol/04/attributes' V_04::Attributes.init( c[:transport][:buffers] ) end ns.impl do |c,| require 'net/sftp/protocol/05/impl' Impl.new( c[:transport][:buffers], c[:driver], c[:packet_assistant], c[:attr_factory] ) end end end