Mercurial > hg > FederatedLinda
view src/fdl/test/debug/StartCallback.java @ 122:ad73eacf560a default tip
remove warning
author | e095732 |
---|---|
date | Thu, 07 Feb 2013 22:32:26 +0900 |
parents | 49e7f02f0063 |
children |
line wrap: on
line source
package fdl.test.debug; import java.nio.ByteBuffer; import fdl.PSXCallback; class StartCallback implements PSXCallback { NodeProperty np; TreeProperty tp; public StartCallback(NodeProperty np, TreeProperty tp) { this.np = np; this.tp = tp; } public void callback(ByteBuffer reply) { Debug.print("Start Tree"); tp.startTime = System.nanoTime(); tp = new TreeProperty(np); tp.startTree(reply); np.ml.in(TupleId.BODY.id); np.ml.out(TupleId.BODY.id, reply); np.ml.in(TupleId.START.id, this); } }