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