comparison src/main/java/christie/remotingTextEditor/StartTwoEditor.java @ 223:1c37472fc00d

add catch command from editors
author ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
date Thu, 28 Nov 2019 15:12:37 +0900
parents 7e5f18a5e612
children 0c74d9168aff
comparison
equal deleted inserted replaced
222:3bee0ab985a4 223:1c37472fc00d
10 } 10 }
11 11
12 public static void main(String[] args){ 12 public static void main(String[] args){
13 CodeGearManager editor1 = createCGM(10001); 13 CodeGearManager editor1 = createCGM(10001);
14 CodeGearManager editor2 = createCGM(10002); 14 CodeGearManager editor2 = createCGM(10002);
15 editor1.createRemoteDGM("editor2","localhost",10002);
15 editor1.setup(new SetInstance()); 16 editor1.setup(new SetInstance());
16 editor2.setup(new SetInstance()); 17 editor2.setup(new SetInstance());
17 } 18 }
18 } 19 }