public BrokerServer(string name,string orderingPolicy,string routingPolicy,
     string loggingLevel,string pmLogServerUrl)
 {
     broker = new BrokerLogic(this,name, orderingPolicy, routingPolicy, loggingLevel, pmLogServerUrl);
     if (orderingPolicy.Equals("NO"))
     {
         repeated = new DetectRepeatedMessageNO();
     }
 }
 public BrokerServer(string name, string orderingPolicy, string routingPolicy,
                     string loggingLevel, string pmLogServerUrl)
 {
     broker = new BrokerLogic(this, name, orderingPolicy, routingPolicy, loggingLevel, pmLogServerUrl);
     if (orderingPolicy.Equals("NO"))
     {
         repeated = new DetectRepeatedMessageNO();
     }
 }
 public SubscriberLogic(ISubscriber myProxy,string orderingPolicy, string name,
     string pmLogServerUrl, string loggingLevel)
 {
     pool = new CommonTypes.ThreadPool(1);
     this.myProxy = myProxy;
     this.name = name;
     this.loggingLevel = loggingLevel;
     this.ordering = orderingPolicy;
     this.freezer = new List<Event>();
     if (orderingPolicy.Equals("FIFO"))
     {
         this.repeated = new DetectRepeatedFIFO();
     }
     else if (orderingPolicy.Equals("NO") || orderingPolicy.Equals("TOTAL"))
     {
         this.repeated = new DetectRepeatedMessageNO();
     }
     logServer = Activator.GetObject(typeof(IPuppetMasterLog), pmLogServerUrl)
         as IPuppetMasterLog;
 }
 public SubscriberLogic(ISubscriber myProxy, string orderingPolicy, string name,
                        string pmLogServerUrl, string loggingLevel)
 {
     pool              = new CommonTypes.ThreadPool(1);
     this.myProxy      = myProxy;
     this.name         = name;
     this.loggingLevel = loggingLevel;
     this.ordering     = orderingPolicy;
     this.freezer      = new List <Event>();
     if (orderingPolicy.Equals("FIFO"))
     {
         this.repeated = new DetectRepeatedFIFO();
     }
     else if (orderingPolicy.Equals("NO") || orderingPolicy.Equals("TOTAL"))
     {
         this.repeated = new DetectRepeatedMessageNO();
     }
     logServer = Activator.GetObject(typeof(IPuppetMasterLog), pmLogServerUrl)
                 as IPuppetMasterLog;
 }