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