Пример #1
0
        public override ConditionalProducer ShouldRecived(IReciverConditional conditionType = null)
        {
            RemoteConditionalProducer conditionaProcedure = new RemoteConditionalProducer(SoapRemoteServerManagerClient, RemoteServerId, conditionType);

            recivers.Add(conditionaProcedure);
            return(conditionaProcedure);
        }
Пример #2
0
 public long CreateRecivedConditional(long ServerId, int ReciverConditionalType = 0)
 {
     ++incrementCounter;
     recivedConditionals[incrementCounter] = fakeServers[ServerId].ShouldRecived(RemoteConditionalProducer.CreateReciverConditionalByCode(ReciverConditionalType));
     reciveConditionalsIdsMatchServerIds[incrementCounter] = ServerId;
     return incrementCounter;
 }