예제 #1
0
        public void Init(bool isEnableInnerMsg, string serverAddress, AppServerConfig appServerConfig, IPCCommuConfig ipcConfig)
        {
            CommonLib.InnerMessageManager.SetEnable(isEnableInnerMsg);

            MyIP = appServerConfig.IPAddress;

            AppServerInfo.App서버_정보_설정(appServerConfig);

            hubConnection = new HubConnection(serverAddress);

            RegistHubProxy(hubConnection);

            SendMessages.Init(agentHubProxy);

            IPCCommu.Init(ipcConfig.MyPort, ipcConfig.OtherPort, ipcConfig.MaxPacketSize, ipcConfig.MaxPacketBufferSize);
            IPCCommu.InitClient(appServerConfig.AppServerName);

            ComputerStatus.Init();
        }