public override ConditionalProducer ShouldRecived(IReciverConditional conditionType = null) { var newConditional = new ConditionalProducer(conditionType); recivers.Add(newConditional); return(newConditional); }
public override ConditionalProducer ShouldRecived(IReciverConditional conditionType = null) { RemoteConditionalProducer conditionaProcedure = new RemoteConditionalProducer(SoapRemoteServerManagerClient, RemoteServerId, conditionType); recivers.Add(conditionaProcedure); return(conditionaProcedure); }
public static int GetConditionalTypeCode(IReciverConditional conditionalType) { if (conditionalType is XMLWithIgnoreNodeRreciverConditional) { return(2); } if (conditionalType is XMLReciverConditional) { return(1); } return(0); }
public ConditionalProducer(IReciverConditional conditionalType = null) { _conditional = conditionalType ?? new ReciverConditional(); }
public abstract ConditionalProducer ShouldRecived(IReciverConditional conditionType = null);
public RemoteConditionalProducer(ServerManager soapRemoteServerManagerClient, long remoteServerId, IReciverConditional conditionalType) { this.soapRemoteServerManagerClient = soapRemoteServerManagerClient; this.remoteServerId = remoteServerId; remoteConditionalId = soapRemoteServerManagerClient.CreateRecivedConditional(remoteServerId, GetConditionalTypeCode(conditionalType)); }