예제 #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);
        }
예제 #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>();
 }
예제 #3
0
 /// <summary>
 /// 
 /// </summary>
 private TaskFacade(ProxyConfig pConfig, IPlugin pPlugin)
 {
     cPlugin = pPlugin;
       cDomain = DomainFacade.getInstance(pConfig, pPlugin);
 }
예제 #4
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="pProxyConfig"></param>
 public void onStart(ProxyConfig pProxyConfig)
 {
     cDomain.onStart(pProxyConfig);
 }
예제 #5
0
 /// <summary>
 /// 
 /// </summary>
 public void onStart(ProxyConfig pProxyConfig)
 {
     cInfrastructure.onStart(pProxyConfig);
 }