Commit 0a497c90 authored by Vincent Pelletier's avatar Vincent Pelletier

Overload dispatch instead of packetReceived, to preserve packet logging...

Overload dispatch instead of packetReceived, to preserve packet logging provided by EventHandler class.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@264 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent a100be9d
......@@ -41,7 +41,7 @@ class ClientEventHandler(EventHandler):
self.dispatcher = dispatcher
EventHandler.__init__(self)
def packetReceived(self, conn, packet):
def dispatch(self, conn, packet):
"""Redirect all received packet to dispatcher thread."""
dispatcher = self.dispatcher
# Send message to waiting thread
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment