diff 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
line wrap: on
line diff
--- a/src/main/java/christie/remotingTextEditor/StartTwoEditor.java	Tue Nov 19 16:59:41 2019 +0900
+++ b/src/main/java/christie/remotingTextEditor/StartTwoEditor.java	Thu Nov 28 15:12:37 2019 +0900
@@ -12,6 +12,7 @@
     public static void main(String[] args){
         CodeGearManager editor1 = createCGM(10001);
         CodeGearManager editor2 = createCGM(10002);
+        editor1.createRemoteDGM("editor2","localhost",10002);
         editor1.setup(new SetInstance());
         editor2.setup(new SetInstance());
     }