register_services (Net::SSH::Service::Process)

    # File lib/net/ssh/service/process/services.rb, line 24
            def register_services( container )

              # All process management services are registered in their own
              # namespace.
              container.namespace_define :process do |ns|

                # The :open_manager service returns a proc object that can be used
                # to create new OpenManager instances for a given command.
                ns.open_manager do |c,p|
                  require 'net/ssh/service/process/open'
                  connection = c[:connection][:driver]
                  log = c[:log_for, p]
                  lambda { |cmd| OpenManager.new( connection, log, cmd ) }
                end

                # The :popen3_manager service returns a new POpen3Manager instance
                # for managing the execution of commands with a popen3-type
                # interface.
                ns.popen3_manager do |c,p|
                  require 'net/ssh/service/process/popen3'
                  connection = c[:connection][:driver]
                  log = c[:log_for, p]
                  POpen3Manager.new( connection, log )
                end

                # The :driver controls access to all remote process management
                # services.
                ns.driver do |c,p|
                  require 'net/ssh/service/process/driver'
                  Driver.new( c[:connection][:driver],
                              c[:log_for, p],
                              :open => c[:open_manager],
                              :popen3 => c[:popen3_manager] )
                end

              end
            end