Beispiel #1
0
        internal static void Init(TopologyVisualizer visualizer)
        {
            if (!Directory.Exists(EVT_LOGS_DIR))
            {
                Directory.CreateDirectory(EVT_LOGS_DIR);
            }
            if (!Directory.Exists(SNMP_DATA_DIR))
            {
                Directory.CreateDirectory(SNMP_DATA_DIR);
            }

            MIB_Info.SetUpIdNameMap();
            vis = visualizer;

            if (channels != null)
            {
                channels.Clear();
            }
            else
            {
                channels = new Dictionary <IPAddress, Thread>();
            }
        }