Beispiel #1
0
        public ServerReviver(ServerInfoMgr refServerInfoMgr, ServerController refServerController)
        {
            m_refServerInfoMgr    = refServerInfoMgr;
            m_refServerController = refServerController;

            m_timeRegulatorToUpdate.Start(TIME_UPDATE_DELAY);
        }
Beispiel #2
0
        public FormSettings(ServerInfoMgr refServerInfoMgr)
        {
            m_refServerInfoMgr = refServerInfoMgr;

            InitializeComponent();
            UpdateServerList();
        }
        public ServableStateUpdater(ServerInfoMgr refServerInfoMgr, MonitoringLoggerMgr refMonitoringLoggerMgr)
        {
            m_refServerInfoMgr       = refServerInfoMgr;
            m_refMinitoringLoggerMgr = refMonitoringLoggerMgr;

            m_rgltDelayToCheck.Start(TIME_CHECK_DELAY);
        }
        public CurServerPlayerCountUpdater(DBMgr refDBMgr, ServerInfoMgr refServerInfoMgr)
        {
            m_refDBMgr         = refDBMgr;
            m_refServerInfoMgr = refServerInfoMgr;

            m_timeRegulatorGetCurPlayer.Start(TIME_GET_DELAY);
        }
Beispiel #5
0
        public ServerDBInfoUpdater(ServerInfoMgr refServerInfoMgr, DBMgr refDBMgr)
        {
            m_refServerInfoMgr = refServerInfoMgr;
            m_refDBMgr         = refDBMgr;

            m_rgltDelayToCheck.Start(TIME_UPDATE_DELAY_SEC);
        }
Beispiel #6
0
        public ProcessStateChecker(ServerInfoMgr refServerInfoMgr, ProcessSystem refProcessSystem, MonitoringLoggerMgr refMonitoringLoggerMgr)
        {
            m_refServerInfoMgr       = refServerInfoMgr;
            m_refProcessSystem       = refProcessSystem;
            m_refMonitoringLoggerMgr = refMonitoringLoggerMgr;

            m_rgltDelayToCheck.Start(TIME_CHECK_DELAY);
        }
Beispiel #7
0
        public ServerListViewUpdater(ListView refLviewServerList, int nServerNameColIndex, ServerInfoMgr refServerInfoMgr)
        {
            m_refLviewServerList      = refLviewServerList;
            m_refServerInfoMgr        = refServerInfoMgr;
            m_nColumnIndex_ServerName = nServerNameColIndex;

            m_timeRegulatorToUpdate.Start(TIME_UPDATE_DELAY);
        }
Beispiel #8
0
        public FormSettingsAddServer(ServerInfoMgr refServerInfoMgr)
        {
            m_refServerInfoMgr = refServerInfoMgr;

            InitializeComponent();

            comboboxServerType.Items.Add(SERVER_TYPE.SERVER_LOGIN);
            comboboxServerType.Items.Add(SERVER_TYPE.SERVER_MASTER);
            comboboxServerType.Items.Add(SERVER_TYPE.SERVER_GAME);
            comboboxServerType.Items.Add(SERVER_TYPE.SERVER_APPLICATION);

            comboboxServerType.SelectedIndex = 0;
        }
Beispiel #9
0
        public void Init(string strServerName, ServerInfoMgr refServerInfoMgr)
        {
            ServerInfo refServerInfo = refServerInfoMgr.Find(strServerName);

            if (null == refServerInfo)
            {
                return;
            }

            listboxDetailInfo.Items.Add("Name : " + refServerInfo.ServerName);
            listboxDetailInfo.Items.Add("Process State : " + refServerInfo.ProcessState.ToString());
            listboxDetailInfo.Items.Add("Exe Path : " + refServerInfo.ExePath);
            listboxDetailInfo.Items.Add("Process Name : " + refServerInfo.ProcessName);
            listboxDetailInfo.Items.Add("Process ID : " + refServerInfo.ProcessID.ToString());
            listboxDetailInfo.Items.Add("World ID : " + refServerInfo.WorldID.ToString());
            listboxDetailInfo.Items.Add("Server ID : " + refServerInfo.ServerID.ToString());
            listboxDetailInfo.Items.Add("Latest Start Time : " + refServerInfo.LatestStartTime.ToString("yyyy/MM/dd-HH:mm:ss"));
        }
Beispiel #10
0
 public ServerController(ServerInfoMgr refServerInfoMgr, ProcessSystem refProcessSystem, MonitoringLoggerMgr refMonitoringLoggerMgr)
 {
     m_refServerInfoMgr       = refServerInfoMgr;
     m_refProcessSystem       = refProcessSystem;
     m_refMonitoringLoggerMgr = refMonitoringLoggerMgr;
 }