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

            m_rgltDelayToCheck.Start(TIME_CHECK_DELAY);
        }
Exemplo n.º 2
0
        public ProcessStateChecker(ServerInfoMgr refServerInfoMgr, ProcessSystem refProcessSystem, MonitoringLoggerMgr refMonitoringLoggerMgr)
        {
            m_refServerInfoMgr       = refServerInfoMgr;
            m_refProcessSystem       = refProcessSystem;
            m_refMonitoringLoggerMgr = refMonitoringLoggerMgr;

            m_rgltDelayToCheck.Start(TIME_CHECK_DELAY);
        }
Exemplo n.º 3
0
        private bool InitMonitoringLog(DBMgr refDBMgr, LogStringMgr refLogStringMgr)
        {
            if (refDBMgr == null || refLogStringMgr == null)
            {
                return(false);
            }

            if (refLogStringMgr.LoadStringTable() == false)
            {
                FileLog.Instance.Write("실패! LogStringMgr 로드에 실패했습니다!");
                return(false);
            }

            m_monitoringLoggerMgr = new MonitoringLoggerMgr(m_logStringMgr);
            m_monitoringLoggerMgr.AddLogger(new MonitoringLogger_LogFile());
            m_monitoringLoggerMgr.AddLogger(new MonitoringLogger_ListBox(m_refView.refLBoxMonitoringLog));
            m_monitoringLoggerMgr.AddLogger(new MonitoringLogger_Network(m_serverMonitorClientMgr, m_netServer.commandSender));
            /// DB Log 는 작성하지 않게 해둠. aibeast (2010/05/26)
            //m_monitoringLoggerMgr.AddLogger(new MonitoringLogger_DB(m_config.ServerMonitorID, refDBMgr));
            return(true);
        }
Exemplo n.º 4
0
 public ServerController(ServerInfoMgr refServerInfoMgr, ProcessSystem refProcessSystem, MonitoringLoggerMgr refMonitoringLoggerMgr)
 {
     m_refServerInfoMgr       = refServerInfoMgr;
     m_refProcessSystem       = refProcessSystem;
     m_refMonitoringLoggerMgr = refMonitoringLoggerMgr;
 }