[Swift-commit] r2798 - usertools/cio/tools

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Wed Apr 1 16:26:27 CDT 2009


Author: aespinosa
Date: 2009-04-01 16:26:27 -0500 (Wed, 01 Apr 2009)
New Revision: 2798

Removed:
   usertools/cio/tools/hashserver.rb
Log:
Removed "tools" directory and moved to libexec


Deleted: usertools/cio/tools/hashserver.rb
===================================================================
--- usertools/cio/tools/hashserver.rb	2009-04-01 21:26:00 UTC (rev 2797)
+++ usertools/cio/tools/hashserver.rb	2009-04-01 21:26:27 UTC (rev 2798)
@@ -1,26 +0,0 @@
-#!/home/espinosa/local/bin/ruby
-
-require 'drb'
-
-class HashServer
-  attr_reader :file
-
-  def initialize
-    @file = {}
-  end
-
-  def put(fname, rank)
-    @file[fname] = rank
-  end
-
-  def get(fname)
-    @file[fname]
-  end
-
-end
-
-server = HashServer.new
-
-DRb.start_service('druby://*:9000', server)
-DRb.thread.join
-




More information about the Swift-commit mailing list