[Groonga-commit] droonga/fluent-plugin-droonga at a6b3ecc [master] engine: use "message" instead of "envelope"

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Dec 20 17:42:46 JST 2013


Kouhei Sutou	2013-12-20 17:42:46 +0900 (Fri, 20 Dec 2013)

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

  Message:
    engine: use "message" instead of "envelope"

  Modified files:
    lib/droonga/dispatcher.rb
    lib/droonga/engine.rb

  Modified: lib/droonga/dispatcher.rb (+1 -1)
===================================================================
--- lib/droonga/dispatcher.rb    2013-12-20 17:42:11 +0900 (331f564)
+++ lib/droonga/dispatcher.rb    2013-12-20 17:42:46 +0900 (18674c8)
@@ -61,7 +61,7 @@ module Droonga
       @loop_thread.join
     end
 
-    def handle_envelope(envelope)
+    def handle_message(envelope)
       @envelope = envelope
       if envelope["type"] == "dispatcher"
         process_internal_message(envelope["body"])

  Modified: lib/droonga/engine.rb (+1 -1)
===================================================================
--- lib/droonga/engine.rb    2013-12-20 17:42:11 +0900 (75ef618)
+++ lib/droonga/engine.rb    2013-12-20 17:42:46 +0900 (2b309c8)
@@ -36,7 +36,7 @@ module Droonga
     end
 
     def process(message)
-      @dispatcher.handle_envelope(message)
+      @dispatcher.handle_message(message)
     end
   end
 end
-------------- next part --------------
HTML����������������������������...
Download 



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