[Groonga-commit] droonga/fluent-plugin-droonga at 4c9161c [master] Document HandlerMessenger#forward

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Dec 26 13:07:30 JST 2013


Kouhei Sutou	2013-12-26 13:07:30 +0900 (Thu, 26 Dec 2013)

  New Revision: 4c9161ca9089acf90f0310cce7b54f355ba2b14f
  https://github.com/droonga/fluent-plugin-droonga/commit/4c9161ca9089acf90f0310cce7b54f355ba2b14f

  Message:
    Document HandlerMessenger#forward

  Modified files:
    lib/droonga/handler_messenger.rb

  Modified: lib/droonga/handler_messenger.rb (+13 -2)
===================================================================
--- lib/droonga/handler_messenger.rb    2013-12-26 10:07:09 +0900 (cfb91d6)
+++ lib/droonga/handler_messenger.rb    2013-12-26 13:07:30 +0900 (583a643)
@@ -51,8 +51,19 @@ module Droonga
       end
     end
 
-    def forward(message, destination)
-      @forwarder.forward(message, destination)
+    # Forwards a Droonga message to other Droonga Engine.
+    #
+    # @param [Hash] droonga_message
+    #   The Droonga message to be forwarded.
+    # @param [Hash] destination
+    #   The destination of the Droonga message. See {Forwarder#forward} to
+    #   know about how to specify destination.
+    #
+    # @return [void]
+    #
+    # @see Forwarder#forward
+    def forward(droonga_message, destination)
+      @forwarder.forward(droonga_message, destination)
     end
 
     def inspect
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index