Mercurial > hg > FederatedLinda
diff src/fdl/IOHandler.java @ 109:8cec713e5abf
add update() api
author | kazz |
---|---|
date | Mon, 26 Jul 2010 00:40:23 +0900 |
parents | 96c63bc659d4 |
children |
line wrap: on
line diff
--- a/src/fdl/IOHandler.java Mon Jul 19 18:45:47 2010 +0900 +++ b/src/fdl/IOHandler.java Mon Jul 26 00:40:23 2010 +0900 @@ -67,7 +67,9 @@ } else if (mode == PSX.PSX_WAIT_RD) { tupleSpace.Wait_Rd(key, command, mode); } else if(mode == PSX.PSX_OUT) { - tupleSpace.Out(key, command, data); + tupleSpace.Out(key, command, data); + } else if (mode == PSX.PSX_UPDATE){ + tupleSpace.Update(key, command, data); } else { tupleSpace.hook.closeHook(key); fds.log(Level.SEVERE,"Incorrect tuple operation");