[Groonga-commit] groonga/express-kotoumi [master] Emit "message" event, for messages from the backend

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Jan 10 19:10:21 JST 2013


YUKI Hiroshi	2013-01-10 19:10:21 +0900 (Thu, 10 Jan 2013)

  New Revision: 85fd2b868ae0bc0f710d42a4606f461465cff467
  https://github.com/groonga/express-kotoumi/commit/85fd2b868ae0bc0f710d42a4606f461465cff467

  Log:
    Emit "message" event, for messages from the backend

  Modified files:
    lib/backend-adaptor.js

  Modified: lib/backend-adaptor.js (+2 -0)
===================================================================
--- lib/backend-adaptor.js    2013-01-10 18:59:33 +0900 (585f6a3)
+++ lib/backend-adaptor.js    2013-01-10 19:10:21 +0900 (d3c65bd)
@@ -67,6 +67,8 @@ Connection.prototype._initReceiver = function() {
 };
 
 Connection.prototype._handleMessage = function(envelope) {
+  this.emit('message', envelope);
+
   var replyTo = envelope['replyTo'];
   if (replyTo) {
     this.emit('replyTo:' + replyTo, envelope);
-------------- next part --------------
HTML����������������������������...
Descargar 



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