static private GuessResponseState ( |
||
response | ||
state | OperationState | |
Результат | bool |
protected override IOperationResult ProcessResponse(BinaryResponse response) { var r = response.StatusCode == 0; var result = new BinaryOperationResult(); if (this.locator != null && !VBucketAwareOperationFactory.GuessResponseState(response, out this.state)) { return(result.Fail("Process response failed")); } return(result.PassOrFail(r, "Processing response failed")); }
protected override IOperationResult ProcessResponse(BinaryResponse response) { var r = base.ProcessResponse(response); var result = new BinaryOperationResult(); if (this.locator != null && !VBucketAwareOperationFactory.GuessResponseState(response, out this.state)) { return(result.Fail("Failed to process response")); } return(r); }