(String[] args)
| 50 | } |
| 51 | |
| 52 | public void Start(String[] args) throws Exception { |
| 53 | int serverId = -1; |
| 54 | int providerDirectPort = -1; |
| 55 | for (int i = 0; i < args.length; ++i) { |
| 56 | switch (args[i]) { |
| 57 | case "-ServerId": |
| 58 | serverId = Integer.parseInt(args[++i]); |
| 59 | break; |
| 60 | case "-GenFileSrcRoot": |
| 61 | GenModule.instance.genFileSrcRoot = args[++i]; |
| 62 | break; |
| 63 | case "-ProviderDirectPort": |
| 64 | providerDirectPort = Integer.parseInt(args[++i]); |
| 65 | break; |
| 66 | } |
| 67 | } |
| 68 | Start(serverId, providerDirectPort); |
| 69 | } |
| 70 | |
| 71 | public void Start(int serverId, int providerDirectPort) throws Exception { |
| 72 |
no test coverage detected