public final class AggregationResponseFuture extends Object implements Future<AggregationResponse>
Future
Constructor and Description |
---|
AggregationResponseFuture(Future<TLVElement> requestFuture,
KSIRequestContext requestContext,
ServiceCredentials credentials,
PduFactory pduFactory) |
Modifier and Type | Method and Description |
---|---|
AggregationResponse |
getResult()
Retrieves the result of the request.
|
boolean |
isFinished()
Returns true if result is available.
|
public AggregationResponseFuture(Future<TLVElement> requestFuture, KSIRequestContext requestContext, ServiceCredentials credentials, PduFactory pduFactory)
public AggregationResponse getResult() throws KSIException
Future
getResult
in interface Future<AggregationResponse>
KSIException
- when KSI service returns an error or does not work as expected.public boolean isFinished()
Future
isFinished
in interface Future<AggregationResponse>
Copyright © 2024 Guardtime. All rights reserved.