コード例 #1
0
ファイル: AdministrativeDomain.cs プロジェクト: admsbk/tsst2
 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);
     }
 }
コード例 #2
0
ファイル: AdministrativeDomain.cs プロジェクト: sopel30/tsst2
        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);

            }
        }