Пример #1
0
        public void StartRemoteConnect()
        {
            RemoteCheck = new RemoteConnectCheck();

            var remoteInfoList = new List <Tuple <string, string, int> >();

            foreach (var server in ConfigTemp.RemoteServers)
            {
                var infoList = server.Split(":");
                remoteInfoList.Add(new Tuple <string, string, int>(infoList[0], infoList[1], infoList[2].ToInt32()));

                MainLogger.Info(string.Format("(To)연결할 서버 정보: {0}, {1}, {2}", infoList[0], infoList[1], infoList[2]));
            }

            RemoteCheck.Init(this, remoteInfoList);
        }
Пример #2
0
        public void StartRemoteConnect()
        {
            RemoteCheck = new RemoteConnectCheck();

            var remoteInfoList = new List <Tuple <string, string, int> >();

            foreach (var server in ConfigTemp.RemoteServers)
            {
                var infoList = server.Split(":");
                remoteInfoList.Add(new Tuple <string, string, int>(infoList[0], infoList[1], infoList[2].ToInt32()));

                MainServer.WriteLog(string.Format("(To)연결할 서버 정보: {0}, {1}, {2}", infoList[0], infoList[1], infoList[2]), LOG_LEVEL.INFO);
            }

            RemoteCheck.Init(ActiveServerBootstrap, remoteInfoList);
        }