Commit de9b6bea authored by Aurel's avatar Aurel

handler for unexpected packet no longer exists, raise exception instead


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@636 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 107c166c
......@@ -362,22 +362,22 @@ class EventHandler(object):
raise UnexpectedPacketError
def handleAskPartitionList(self, conn, packet, offset_list):
self.handleUnexpectedPacket(conn, packet)
raise UnexpectedPacketError
def handleAnswerPartitionList(self, conn, packet, ptid, row_list):
self.handleUnexpectedPacket(conn, packet)
raise UnexpectedPacketError
def handleAskNodeList(self, conn, packet, offset_list):
self.handleUnexpectedPacket(conn, packet)
raise UnexpectedPacketError
def handleAnswerNodeList(self, conn, packet, ptid, row_list):
self.handleUnexpectedPacket(conn, packet)
raise UnexpectedPacketError
def handleSetNodeState(self, conn, packet, uuid, state, modify_partition_table):
self.handleUnexpectedPacket(conn, packet)
raise UnexpectedPacketError
def handleAnswerNodeState(self, conn, packet, uuid, state):
self.handleUnexpectedPacket(conn, packet)
raise UnexpectedPacketError
# Error packet handlers.
......
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