Commit d7a5b14b authored by Aurel's avatar Aurel

generate msg_id for message


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@175 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 936ee9ba
......@@ -87,6 +87,7 @@ class ClientEventHandler(EventHandler):
if conn is not None:
conn.lock()
try:
msg_id = conn.getNextId()
p = Packet()
ip_address, port = node.getServer()
node_list = [(STORAGE_NODE_TYPE, ip_address, port, node.getUUID(),
......@@ -115,6 +116,7 @@ class ClientEventHandler(EventHandler):
if conn is not None:
conn.lock()
try:
msg_id = conn.getNextId()
p = Packet()
ip_address, port = node.getServer()
node_list = [(STORAGE_NODE_TYPE, ip_address, port, node.getUUID(),
......@@ -143,6 +145,7 @@ class ClientEventHandler(EventHandler):
if conn is not None:
conn.lock()
try:
msg_id = conn.getNextId()
p = Packet()
ip_address, port = node.getServer()
node_list = [(STORAGE_NODE_TYPE, ip_address, port, node.getUUID(),
......
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