Beispiel #1
0
        /// <summary>
        /// Create single instance
        /// </summary>
        /// <returns></returns>
        public static TaskFacade getInstance(ProxyConfig pConfig, IPlugin pPlugin)
        {
            if (cInstance == null)
            cInstance = new TaskFacade(pConfig, pPlugin);

              return (cInstance);
        }
Beispiel #2
0
 /// <summary>
 /// 
 /// </summary>
 private DomainFacade(ProxyConfig pConfig, IPlugin pPlugin)
 {
     cPlugin = pPlugin;
       cObserverList = new List<IObserver>();
       cInfrastructure = InfrastructureFacade.getInstance(pConfig, pPlugin);
       cRecordList = new List<POP3Account>();
 }
Beispiel #3
0
 /// <summary>
 /// 
 /// </summary>
 private TaskFacade(ProxyConfig pConfig, IPlugin pPlugin)
 {
     cPlugin = pPlugin;
       cDomain = DomainFacade.getInstance(pConfig, pPlugin);
 }
Beispiel #4
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="pProxyConfig"></param>
 public void onStart(ProxyConfig pProxyConfig)
 {
     cDomain.onStart(pProxyConfig);
 }
Beispiel #5
0
 /// <summary>
 /// 
 /// </summary>
 public void onStart(ProxyConfig pProxyConfig)
 {
     cInfrastructure.onStart(pProxyConfig);
 }