Package org.core.eco.transaction.pending
Class PendingSingleTransactionImpl
java.lang.Object
org.core.eco.transaction.pending.PendingSingleTransactionImpl
- All Implemented Interfaces:
PendingSingleTransaction
,PendingTransaction
-
Constructor Summary
ConstructorDescriptionPendingSingleTransactionImpl(Account account, Transaction transaction, CompletableFuture<TransactionResult> future)
-
Method Summary
Modifier and TypeMethodDescription@NotNull CompletableFuture<TransactionsResult>
@NotNull CompletableFuture<TransactionResult>
@NotNull TransactionsResult
@NotNull Account
@NotNull Transaction
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.core.eco.transaction.pending.PendingSingleTransaction
getRemainingTransactions
Methods inherited from interface org.core.eco.transaction.pending.PendingTransaction
getCurrentTransaction
-
Constructor Details
-
PendingSingleTransactionImpl
public PendingSingleTransactionImpl(Account account, Transaction transaction, CompletableFuture<TransactionResult> future)
-
-
Method Details
-
getTransaction
- Specified by:
getTransaction
in interfacePendingSingleTransaction
-
getTarget
- Specified by:
getTarget
in interfacePendingTransaction
-
getCurrentResult
- Specified by:
getCurrentResult
in interfacePendingTransaction
-
awaitCurrentTransaction
- Specified by:
awaitCurrentTransaction
in interfacePendingTransaction
-
awaitComplete
- Specified by:
awaitComplete
in interfacePendingTransaction
-
isComplete
public boolean isComplete()- Specified by:
isComplete
in interfacePendingTransaction
-