view src/main/java/christie/test/Remote/StartRemotePut.java @ 33:e7bf1506810c

change test code
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Thu, 15 Feb 2018 19:08:55 +0900
parents bf8ac57409af
children 7b405f622c5c
line wrap: on
line source

package christie.test.Remote;

import christie.codegear.CodeGearManager;
import christie.codegear.StartCodeGear;

import static java.lang.Thread.sleep;

public class StartRemotePut extends StartCodeGear{

    public StartRemotePut(CodeGearManager cgm) {
        super(cgm);
    }

    public static void main(String args[]){
        CodeGearManager cgm = createCGM(10000);
        new StartRemotePut(cgm);

        cgm.setup(new CreateRemotePutTest());//この中身をここに直接書くとなぜか通らない
        cgm.createRemoteDGM("remote", "localhost", 10000);

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

}