-
public final class NetworkEvent.TrustTokenOperationDoneEvent extends NetworkEvent
Fired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringstatusprivate final TrustTokenOperationTypetypeprivate final StringrequestIdprivate final StringtopLevelOriginprivate final StringissuerOriginprivate final IntegerissuedTokenCount
-
Constructor Summary
Constructors Constructor Description TrustTokenOperationDoneEvent(String status, TrustTokenOperationType type, String requestId, String topLevelOrigin, String issuerOrigin, Integer issuedTokenCount)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final TrustTokenOperationTypecomponent2()final Stringcomponent3()final Stringcomponent4()final Stringcomponent5()final Integercomponent6()final NetworkEvent.TrustTokenOperationDoneEventcopy(String status, TrustTokenOperationType type, String requestId, String topLevelOrigin, String issuerOrigin, Integer issuedTokenCount)final StringgetStatus()Detailed success or error status of the operation. final TrustTokenOperationTypegetType()final StringgetRequestId()final StringgetTopLevelOrigin()Top level origin. final StringgetIssuerOrigin()Origin of the issuer in case of a "Issuance" or "Redemption" operation. final IntegergetIssuedTokenCount()The number of obtained Trust Tokens on a successful "Issuance" operation. -
-
Method Detail
-
component1
final String component1()
-
component2
final TrustTokenOperationType component2()
-
component3
final String component3()
-
component4
final String component4()
-
component5
final String component5()
-
component6
final Integer component6()
-
copy
final NetworkEvent.TrustTokenOperationDoneEvent copy(String status, TrustTokenOperationType type, String requestId, String topLevelOrigin, String issuerOrigin, Integer issuedTokenCount)
-
getStatus
final String getStatus()
Detailed success or error status of the operation. 'AlreadyExists' also signifies a successful operation, as the result of the operation already exists und thus, the operation was abort preemptively (e.g. a cache hit).
-
getType
final TrustTokenOperationType getType()
-
getRequestId
final String getRequestId()
-
getTopLevelOrigin
final String getTopLevelOrigin()
Top level origin. The context in which the operation was attempted.
-
getIssuerOrigin
final String getIssuerOrigin()
Origin of the issuer in case of a "Issuance" or "Redemption" operation.
-
getIssuedTokenCount
final Integer getIssuedTokenCount()
The number of obtained Trust Tokens on a successful "Issuance" operation.
-
-
-
-