Commit 9143a203 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Implement a verification handler for storage node.

git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@63 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent b09c876e
......@@ -272,6 +272,14 @@ class Packet(object):
return self.error(msg_id, BROKEN_NODE_DISALLOWED_ERROR,
'broken node disallowed error: ' + error_message)
def oidNotFound(self, msg_id, error_message):
return self.error(msg_id, OID_NOT_FOUND_CODE,
'oid not found: ' + error_message)
def tidNotFound(self, msg_id, error_message):
return self.error(msg_id, TID_NOT_FOUND_CODE,
'tid not found: ' + error_message)
def ping(self, msg_id):
self._id = msg_id
self._type = PING
......
This diff is collapsed.
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