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