Sha256: cc45d37b5be73db3110a7ca5171e955fad0b0c7815f400a8ac8f9c4073ecc4ae
Contents?: true
Size: 554 Bytes
Versions: 12
Compression:
Stored size: 554 Bytes
Contents
=begin =druby_serv1.rb a sample dRuby server ==USAGE To start the server: % ruby druby_serv1.rb This will print the address of the server such as druby://[hostname]:[port] (For exaple druby://horihost:39391 Then run the client as (if the address is druby://horihost:39391): % ruby druby_cli1.rb druby://horihost:39391 =end require "drb/drb" require "numru/gphys" include NumRu file = NetCDF.open("../testdata/T.jan.nc") gp = GPhys::NetCDF_IO.open(file,"T") DRb.start_service(nil, gp) puts 'URI: '+DRb.uri puts '[return] to exit' gets
Version data entries
12 entries across 12 versions & 2 rubygems