예제 #1
0
        public void SetDisconnected()
        {
            m_serverInfoMgr.Clear();

            IsConnected      = false;
            IsRequestConnect = false;
            m_nSessionID     = 0;
            eMachineState    = MACHINE_STATE.OFFLINE;
        }
예제 #2
0
        public bool Refresh()
        {
            LinkedListNode <MachineInfo> node = m_machineInfoMgr.MachineInfoList.First;

            for (; node != null; node = node.Next)
            {
                ServerInfoMgr refServerInfoMgr = node.Value.ServerInfoMgr;
                refServerInfoMgr.Clear();

                m_commandSender.SendRequestServerList(node.Value.m_nSessionID);
            }
            return(true);
        }
예제 #3
0
        public void ClearServerInfo(string strMachineName)
        {
            ServerInfoMgr refServerInfoMgr = m_machineInfoMgr.GetServerInfoMgr(strMachineName);

            if (null == refServerInfoMgr)
            {
                return;
            }

            refServerInfoMgr.Clear();

            m_refView.refTreeViewCntroller.ClearServerNodes(strMachineName);
        }