Mercurial > hg > Database > Christie
view src/main/java/christie/test/Remote/RemotePutTest.java @ 13:bcd4f2c19185
don't work MessagePack unconvert for remote put
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 10 Jan 2018 20:37:47 +0900 |
parents | b49a926cbdd9 |
children | f2b30b47ef67 |
line wrap: on
line source
package christie.test.Remote; import christie.annotation.Take; import christie.codegear.CodeGear; import christie.codegear.CodeGearManager; import christie.datagear.DataGear; import christie.test.TestLocal.TestCodeGear; public class RemotePutTest extends CodeGear { @Take("hoge") public DataGear<Integer> hoge = new DataGear<>(); @Override protected void run(CodeGearManager cgm) { System.out.println(hoge.getData()); if (hoge.getData() != 10){ cgm.setup(new TestCodeGear()); dgm("remote").put("hoge", hoge.getData() + 1); } } }