Sha256: 997ba8c7a8a36d76ad8689da94010b85d8b4395b0bf26ce7c36cdfd9cfeb0ff3

Contents?: true

Size: 750 Bytes

Versions: 5

Compression:

Stored size: 750 Bytes

Contents

# Author::    Nicolas Despres  <nicolas.despres@gmail.com>.
# Copyright:: Copyright (c) 2004, 2005 TTK team. All rights reserved.
# License::   LGPL
# $Id: Master.rb 567 2005-04-13 08:00:06Z polrop $


module TTK

  module Daemons

    class Master < Daemon
      include Concrete

      def start_daemon(opts, argv)
        super
        sub_tester_uris = []
        argv.each { |arg| sub_tester_uris << URI.parse(arg) }
        tester_master = Services::TesterMaster.new
        add_observable(tester_master)
        start_service(tester_master,
                      opts[:tester_uri],
                      opts[:tester_name],
                      sub_tester_uris)
      end

    end # class Master

  end # module Daemons

end # module TTK




Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ttk-0.1.576 lib/ttk/daemons/Master.rb
ttk-0.1.580 lib/ttk/daemons/Master.rb
ttk-0.1.579 lib/ttk/daemons/Master.rb
ttk-0.2.1 lib/ttk/daemons/Master.rb
ttk-0.2.0 lib/ttk/daemons/Master.rb