view src/main/java/christie/test/RemoteTake/StartRemoteTake.java @ 24:0930b0554299

use DataGears
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Thu, 25 Jan 2018 23:02:02 +0900
parents 695705dba324
children 76fac42a840e
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", 10000);
        cgm.setup(new CreateRemoteTakeTest());

        /*CodeGearManager cgm2 = createCGM(10001);
        cgm2.createRemoteDGM("remote", "localhost", 10000);
        cgm2.setup(new CreateRemoteTakeTest());*/
    }
}