Ejemplo n.º 1
0
 public void startService()
 {
     try
     {
         manager.Init(linkResourceManager);
         addLog(window.logList, "LRM to CC: Local topology", Constants.LOG_INFO);
         signalization = new transportClient(CloudIp, CloudPort);
         msgHandler    = new transportClient.NewMsgHandler(newMessageReceived);
         signalization.OnNewMessageRecived += msgHandler;
         signalization.sendMessage(nccname + "@CallControll" + "#");
         networkCallController = new NCC(manager, linkResourceManager, signalization, window);
     }
     catch
     {
         addLog(window.logList, Constants.SERVICE_START_ERROR, Constants.LOG_ERROR);
     }
 }
Ejemplo n.º 2
0
        public void startService()
        {
            try
            {
                manager.Init(linkResourceManager);
                addLog(window.logList, "LRM to CC: Local topology", Constants.LOG_INFO);
                signalization = new transportClient(CloudIp, CloudPort);
                msgHandler = new transportClient.NewMsgHandler(newMessageReceived);
                signalization.OnNewMessageRecived += msgHandler;
                signalization.sendMessage(nccname+"@CallControll"+"#");
                networkCallController = new NCC(manager, linkResourceManager, signalization, window);
            }
            catch
            {
                addLog(window.logList, Constants.SERVICE_START_ERROR, Constants.LOG_ERROR);

            }
        }