Mercurial > hg > Database > Christie
changeset 262:ed1baf1fb48b
add file
author | ichikitakahiro <e165713@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 28 Jan 2020 20:20:59 +0900 |
parents | de4962913f24 |
children | 6565d2b343ae |
files | src/main/java/christie/remoteTextEditor/Insert.java src/main/java/christie/remotingTextEditor/StartManToManSession.java.orig |
diffstat | 2 files changed, 2 insertions(+), 34 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/christie/remoteTextEditor/Insert.java Tue Jan 28 20:17:10 2020 +0900 +++ b/src/main/java/christie/remoteTextEditor/Insert.java Tue Jan 28 20:20:59 2020 +0900 @@ -16,5 +16,7 @@ this.fastOffset = fastOffset; } + public + }
--- a/src/main/java/christie/remotingTextEditor/StartManToManSession.java.orig Tue Jan 28 20:17:10 2020 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,34 +0,0 @@ -package christie.remotingTextEditor; - -import christie.codegear.CodeGearManager; -import christie.codegear.StartCodeGear; -import christie.topology.manager.StartTopologyManager; -import christie.topology.manager.TopologyManagerConfig; - -public class StartManToManSession extends StartCodeGear { - - public StartManToManSession(CodeGearManager cgm) { - super(cgm); - } - - public static void main(String[] args){ - int TopologyManagerPort = 10000; - int TopologyNodePort = 10001; - - String[] managerArg = {"--localPort", String.valueOf(TopologyManagerPort), "--confFile", "scripts/Log/manToMan.dot"}; - - TopologyManagerConfig topologyManagerConfig = new TopologyManagerConfig(managerArg); - new StartTopologyManager(topologyManagerConfig); - - - for (int i = 0; i <= 1; i++){ - String[] nodeArg = {"--managerPort", String.valueOf(TopologyManagerPort), - "--managerHost", "localhost", - "--localPort", String.valueOf(TopologyNodePort + i), - }; - - NodeStart.main(nodeArg); - - } - } -}