Mercurial > hg > Database > Christie
view 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 source
package christie.remotingTextEditor; import christie.codegear.CodeGear; import christie.codegear.CodeGearManager; import christie.codegear.StartCodeGear; public class StartTwoEditor extends StartCodeGear{ public StartTwoEditor(CodeGearManager cgm) { super(cgm); } 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()); } }