Mercurial > hg > Database > Alice
view src/alice/topology/node/TopologyNodeConfig.java @ 33:20c67f673224
change name of DataSegmentReceiver
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 18 Jan 2012 01:34:23 +0900 |
parents | 50c75cb3de60 |
children |
line wrap: on
line source
package alice.topology.node; import alice.daemon.Config; public class TopologyNodeConfig extends Config { String managerHostName; int managerPort; public TopologyNodeConfig(String[] args) { super(args); for (int i = 0; i< args.length; i++) { if ("-host".equals(args[i])) { managerHostName = args[++i]; } else if ("-port".equals(args[i])) { managerPort = Integer.parseInt(args[++i]); } } } }