public override ConditionalProducer ShouldRecived(IReciverConditional conditionType = null) { RemoteConditionalProducer conditionaProcedure = new RemoteConditionalProducer(SoapRemoteServerManagerClient, RemoteServerId, conditionType); recivers.Add(conditionaProcedure); return(conditionaProcedure); }
public long CreateRecivedConditional(long ServerId, int ReciverConditionalType = 0) { ++incrementCounter; recivedConditionals[incrementCounter] = fakeServers[ServerId].ShouldRecived(RemoteConditionalProducer.CreateReciverConditionalByCode(ReciverConditionalType)); reciveConditionalsIdsMatchServerIds[incrementCounter] = ServerId; return incrementCounter; }