Mercurial > hg > Database > Christie
changeset 245:aad654568598
tweak
author | ichikitakahiro <e165713@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 24 Jan 2020 18:03:02 +0900 |
parents | e6632043c58a |
children | 824d75bafe67 04bb299f18bd |
files | settings.gradle src/test/java/christie/example/RemoteTake/StartRemoteTake.java |
diffstat | 2 files changed, 25 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/settings.gradle Fri Jan 24 16:53:04 2020 +0900 +++ b/settings.gradle Fri Jan 24 18:03:02 2020 +0900 @@ -1,2 +1,4 @@ rootProject.name = 'Christie' +//include 'module-info.java' +//findProject(':module-info.java')?.name = 'chris's Module'
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/test/java/christie/example/RemoteTake/StartRemoteTake.java Fri Jan 24 18:03:02 2020 +0900 @@ -0,0 +1,23 @@ +package christie.example.RemoteTake; + +import christie.codegear.CodeGearManager; +import christie.codegear.StartCodeGear; + +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()); + } +}