Commit fe78f4b3 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Fix master node to use Answer Transaction Information and Ask Transaction Information.

git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@60 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 11522cd5
......@@ -432,7 +432,7 @@ class Application(object):
self.asking_uuid_dict[uuid] = False
p = Packet()
msg_id = conn.getNextId()
p.askOIDsByTID(msg_id, tid)
p.askTransactionInformation(msg_id, tid)
conn.addPacket(p)
conn.expectMessage(msg_id)
if len(self.asking_uuid_dict) == 0:
......
......@@ -37,8 +37,9 @@ class MasterEventHandler(EventHandler):
logging.info('ignoring Answer Unfinished Transactions')
pass
def handleAnswerOIDsByTID(self, conn, packet, oid_list, tid):
logging.info('ignoring Answer OIDs By TID')
def handleAnswerTransactionInformation(self, conn, packet, tid,
user, desc, oid_list):
logging.info('ignoring Answer Transactin Information')
pass
def handleTidNotFound(self, conn, packet, message):
......
......@@ -330,7 +330,8 @@ class VerificationEventHandler(MasterEventHandler):
app.unfinished_tid_set.update(tid_list)
app.asking_uuid_dict[uuid] = True
def handleAnswerOIDsByTID(self, conn, packet, oid_list, tid):
def handleAnswerTransactionInformation(self, conn, packet, tid,
user, desc, oid_list):
uuid = conn.getUUID()
if uuid is None:
self.handleUnexpectedPacket(conn, packet)
......
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