[ap4r-devel] [363] trunk/ap4r/lib/ap4r/util/queue_client.rb: Misc: Add date and name for TODO comment.

shino at rubyforge.org shino at rubyforge.org
Thu Jan 10 21:33:17 EST 2008


Revision: 363
Author:   shino
Date:     2008-01-10 21:33:16 -0500 (Thu, 10 Jan 2008)

Log Message:
-----------
Misc: Add date and name for TODO comment.

Modified Paths:
--------------
    trunk/ap4r/lib/ap4r/util/queue_client.rb

Modified: trunk/ap4r/lib/ap4r/util/queue_client.rb
===================================================================
--- trunk/ap4r/lib/ap4r/util/queue_client.rb	2008-01-10 09:36:12 UTC (rev 362)
+++ trunk/ap4r/lib/ap4r/util/queue_client.rb	2008-01-11 02:33:16 UTC (rev 363)
@@ -7,15 +7,14 @@
   #
   # Client class for +QueueManager+.
   # This class wraps DRb client and provides some helper methods.
-  # TODO: many drb calls are executed in a method call such as +list_queues+.
-  #       ParseTree is perhaps needed.
-  # TODO: +Proc+ object cannnot be passed via DRb. ParseTree also?
+  # TODO: many drb calls are executed in a method call such as +list_queues+. 2006/09/22 by shino
+  #       ParseTree is perhaps needed. Now ruby-parser is also available?
   class QueueClient
     CONFIG_DIR_DEFAULT = 'config'
     CONFIG_FILE_DEFAULT = 'queues.cfg'
 
     HOST_DEFAULT = 'localhost'
-    
+
     DEFAULT_QUEUE_PREFIX = 'queue.test.'
     DEFAULT_QUEUE_SUFFIX = 'default'
     DEFAULT_MULTI_QUEUE = DEFAULT_QUEUE_PREFIX + '*'
@@ -57,7 +56,7 @@
     def list_queues
       qm.store.queues.keys
     end
-  
+
     def list_messages(suffix = DEFAULT_QUEUE_SUFFIX,
                       prefix = DEFAULT_QUEUE_PREFIX)
       qm.store.queues[prefix.to_s + suffix.to_s]




More information about the ap4r-devel mailing list