Sha256: 8b546180982b6c15c5f5d729d9d9ab1c9995482477e7e896b675736dfe60ad35

Contents?: true

Size: 328 Bytes

Versions: 3

Compression:

Stored size: 328 Bytes

Contents

module DeepTest
  class TupleSpaceFactory
    def self.tuple_space
      require "rinda/ring"
      DRb.start_service
      ts = Rinda::RingFinger.new(['localhost'],DeepTest::Server::PORT).lookup_ring_any
      puts "Connected to DeepTest server at #{ts.__drburi}"
      Rinda::TupleSpaceProxy.new ts      
    end
  end
end    

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
deep_test-1.0.2 lib/deep_test/tuple_space_factory.rb
deep_test-1.0.3 lib/deep_test/tuple_space_factory.rb
deep_test-1.0.4 lib/deep_test/tuple_space_factory.rb