|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface StatusResult
Status of a pending request.
[134] The <StatusResult> element returns the status of a pending
request. In the case of a non-compound request, the status is indicated in
the ResultMajor attribute. For a compound request, the status of each
of the inner compound requests is indicated with three different optional
attributes, defined here below.
[134a] The StatusResultType inherits the element and attributes of XResultType
and contains the following additional attributes for reporting the status of
compound requests:
Success [Optional]
In the case of a compound request the number of inner compound operations
that completed with status Success.
Failure [Optional]
In the case of a compound request the number of inner compound operations
that completed with status other than Success.
Pending [Optional]
In the case of a compound request the number of inner compound operations
that are still pending.
| Method Summary | |
|---|---|
int |
getFailure()
Gets the number of failed inner requests. |
int |
getPending()
Gets the number of pending inner requests |
int |
getSuccess()
Gets the number of successful inner requests. |
void |
setFailure(int count)
Sets the number of failed inner requests. |
void |
setPending(int count)
Sets the number of pending inner requests. |
void |
setSuccess(int count)
Sets the number of successful inner requests. |
| Methods inherited from interface XResultType |
|---|
addStandardReplyData, getRequestId, getRequestSignatureValue, getResultMajor, getResultMinor, setRequestId, setRequestSignatureValue, setResultMajor, setResultMinor |
| Methods inherited from interface XMessageAbstractType |
|---|
addDefaults, addOpaqueClientData, clearOpaqueClientData, getId, getMessageName, getNonce, getOpaqueClientData, getService, getSignatureCertificate, hasSignature, isValid, setId, setNonce, setService, setSignature, toString |
| Method Detail |
|---|
int getSuccess()
This element is optional, if it is not set result is -1.
-1 if not set.void setSuccess(int count)
count - new valueint getFailure()
This element is optional, if it is not set result is -1.
-1 if not set.void setFailure(int count)
count - new valueint getPending()
This element is optional, if it is not set result is -1.
-1 if not set.void setPending(int count)
count - new value
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||