Sha256: e30c55da21b839af82c01292177729abeabcba4cb70ca4d2d5a7c4c8ba131e29

Contents?: true

Size: 374 Bytes

Versions: 40

Compression:

Stored size: 374 Bytes

Contents

require 'spiderfw'
require 'apps/drb_server/lib/model_server'

unless ARGV.length == 2
    puts "Usage: ruby start_server.rb type druby://bind_address:port"
    exit
end

server_type = ARGV.shift
uri = ARGV.shift

case server_type
when 'model'
    server = SpiderApps::DrbServer::ModelServer.new(uri)
    server.start
else
    puts "Unrecognized server #{type}"
    exit
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
spiderfw-0.6.20 apps/drb_server/script/start_server.rb
spiderfw-0.6.19 apps/drb_server/script/start_server.rb
spiderfw-0.6.18 apps/drb_server/script/start_server.rb
spiderfw-0.6.17 apps/drb_server/script/start_server.rb
spiderfw-0.6.16 apps/drb_server/script/start_server.rb
spiderfw-0.6.15 apps/drb_server/script/start_server.rb
spiderfw-0.6.14 apps/drb_server/script/start_server.rb
spiderfw-0.6.13 apps/drb_server/script/start_server.rb
spiderfw-0.6.12 apps/drb_server/script/start_server.rb
spiderfw-0.6.11 apps/drb_server/script/start_server.rb
spiderfw-0.6.10 apps/drb_server/script/start_server.rb
spiderfw-0.6.9 apps/drb_server/script/start_server.rb
spiderfw-0.6.8 apps/drb_server/script/start_server.rb
spiderfw-0.6.7 apps/drb_server/script/start_server.rb
spiderfw-0.6.6 apps/drb_server/script/start_server.rb
spiderfw-0.6.5 apps/drb_server/script/start_server.rb
spiderfw-0.6.4 apps/drb_server/script/start_server.rb
spiderfw-0.6.3 apps/drb_server/script/start_server.rb
spiderfw-0.6.2 apps/drb_server/script/start_server.rb
spiderfw-0.6.1 apps/drb_server/script/start_server.rb