Mercurial > hg > Members > nobuyasu > jungle-network
comparison src/alice/jungle/remote/RemoteConfig.java @ 39:10359a815068
add alice.jungle.codesegment.remote
author | one |
---|---|
date | Tue, 09 Jul 2013 15:10:06 +0900 |
parents | d8ee57a1c2c6 |
children | 4419ac56cbfd |
comparison
equal
deleted
inserted
replaced
38:d8ee57a1c2c6 | 39:10359a815068 |
---|---|
4 | 4 |
5 public class RemoteConfig extends Config { | 5 public class RemoteConfig extends Config { |
6 | 6 |
7 public String hostname; | 7 public String hostname; |
8 public int connectPort = 10000; | 8 public int connectPort = 10000; |
9 public String key; | 9 public String key = "remote"; |
10 | 10 |
11 public RemoteConfig(String[] args) { | 11 public RemoteConfig(String[] args) { |
12 super(args); | 12 super(args); |
13 for (int i = 0; i< args.length; i++) { | 13 for (int i = 0; i< args.length; i++) { |
14 if ("-h".equals(args[i])) { | 14 if ("-h".equals(args[i])) { |