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); }
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(); }
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 = "."; } }
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(); }