daemon.GanetiBaseAsyncoreDispatcher
authorGuido Trotter <ultrotter@google.com>
Thu, 13 May 2010 17:32:25 +0000 (18:32 +0100)
committerGuido Trotter <ultrotter@google.com>
Tue, 25 May 2010 10:16:52 +0000 (11:16 +0100)
commitb11780bba16a8aff96439b0acb04e20b90b983b5
treeef20b3e0b1ed3fa1247884624385855d5013f2b3
parent49f986e766fb568347818d7bec945054f7b51b8a
daemon.GanetiBaseAsyncoreDispatcher

Abstract a few common functionalities between all ganeti asyncore
dispatchers:
  - Handle errors by logging them, and then continue
  - By default check sockets only for readability

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/daemon.py