Mercurial > hg > Database > Christie
view src/main/java/christie/test/RemoteTake/StartRemoteTake.java @ 34:7b405f622c5c
refactor code
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 17 Feb 2018 13:14:22 +0900 |
parents | 76fac42a840e |
children |
line wrap: on
line source
package christie.test.RemoteTake; import christie.codegear.CodeGearManager; import christie.codegear.StartCodeGear; import christie.test.Remote.StartRemotePut; public class StartRemoteTake extends StartCodeGear{ public StartRemoteTake(CodeGearManager cgm) { super(cgm); } public static void main(String args[]){ CodeGearManager cgm = createCGM(10000); new StartRemoteTake(cgm); cgm.createRemoteDGM("remote", "localhost", 10001); cgm.setup(new CreateRemoteTakeTest()); CodeGearManager cgm2 = createCGM(10001); cgm2.createRemoteDGM("remote", "localhost", 10000); cgm2.setup(new CreateRemoteTakeTest()); } }