コード例 #1
0
 public Bcm_Control(PresenceListener PL, oLog log, OBIConfig cfg)
 {
     m_log = log;
     m_PL  = PL;
     m_CFG = cfg;
     m_RelevantChangeCountUsers    = 0;
     m_RelevantChangeCountGroups   = 0;
     m_RelevantChangeCountProfiles = 0;
     m_PSI         = null;
     m_PSI_Session = null;
     m_Subscribed  = new Dictionary <string, ObiUser>(8192);
 }
コード例 #2
0
        public void init(OBIConfig cfg, oLog log, string sDB)
        {
            m_cfg        = cfg;
            m_log        = log;
            m_bcm_dir    = sDB;
            m_DirUpdates = new List <DBUpdate>(256);
            m_User2Entry = new Dictionary <string, string>(2048);
            m_brun       = true;
            ThreadStart ts = new ThreadStart(this.runDir);

            m_dth = new Thread(ts);
            m_dth.Start();
        }
コード例 #3
0
 public ProfileGroup(String sId, oLog log, OBIConfig c)
 {
     m_id  = sId;
     m_log = log;
     m_cfg = c;
     try
     {
         m_path = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
     }
     catch (Exception e)
     {
         Console.WriteLine("Cannot fetch the local path, defaulting to current directory\n ->" + e);
         m_path = ".";
     }
 }
コード例 #4
0
 public OBIConfig(oLog l)
 {
     m_log        = l;
     m_ConfValues = new Dictionary <string, string>(32);
     m_Groups     = new Dictionary <string, ProfileGroup>(32);
     try
     {
         m_path = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
     }
     catch (Exception e)
     {
         Console.WriteLine("Cannot fetch the local path, defaulting to current directory\n ->" + e);
         m_path = ".";
     }
     CreateBaseProfiles();
 }