Mercurial > hg > Database > Alice
comparison src/main/java/alice/test/codesegment/remote/TestRemoteAlice.java @ 419:aefbe41fcf12 dispose
change tab to space
author | sugi |
---|---|
date | Tue, 15 Jul 2014 16:00:22 +0900 |
parents | 3a0056e03040 |
children | 145c425db88d |
comparison
equal
deleted
inserted
replaced
418:a269a019f5f8 | 419:aefbe41fcf12 |
---|---|
3 import alice.daemon.AliceDaemon; | 3 import alice.daemon.AliceDaemon; |
4 import alice.datasegment.DataSegment; | 4 import alice.datasegment.DataSegment; |
5 | 5 |
6 public class TestRemoteAlice { | 6 public class TestRemoteAlice { |
7 | 7 |
8 public static void main(String[] args) { | 8 public static void main(String[] args) { |
9 TestRemoteConfig conf = new TestRemoteConfig(args); | 9 TestRemoteConfig conf = new TestRemoteConfig(args); |
10 | 10 |
11 new AliceDaemon(conf).listen(); | 11 new AliceDaemon(conf).listen(); |
12 DataSegment.connect(conf.key, "", conf.hostname, conf.connectPort); | 12 DataSegment.connect(conf.key, "", conf.hostname, conf.connectPort); |
13 new RemoteStartCodeSegment().execute(); | 13 new RemoteStartCodeSegment().execute(); |
14 } | 14 } |
15 | 15 |
16 } | 16 } |