public void Start(Properties properties) { this.ip = properties.Data["cloudlet.interface.ip"]; new DeployAppTcpServer(ip, new Service(properties.Data["service.windowsphone.deploy.name"], Convert.ToInt32(properties.Data["service.windowsphone.deploy.port"]))).Start(); LoadRpcServices(); StartServices(); }
static void Main(string[] args) { Logger.Configure("mpos_server_wp.log", true); EnvironmentFramework.MPOS_PATH = args[0]; Properties properties = new Properties(); properties.Load(EnvironmentFramework.MPOS_PATH + "config.properties"); ServiceController.Instance.Start(properties); }