Package org.web3j.tx.response
Class QueuingTransactionReceiptProcessor
- java.lang.Object
-
- org.web3j.tx.response.TransactionReceiptProcessor
-
- org.web3j.tx.response.QueuingTransactionReceiptProcessor
-
public class QueuingTransactionReceiptProcessor extends TransactionReceiptProcessor
Transaction receipt processor that uses a single thread to query for transaction receipts.Note:When initially invoked, this processor returns a transaction receipt containing only the transaction hash of the submitted transaction. This is encapsulated in an
EmptyTransactionReceipt
.
-
-
Constructor Summary
Constructors Constructor Description QueuingTransactionReceiptProcessor(Web3j web3j, Callback callback, int pollingAttemptsPerTxHash, long pollingFrequency)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionReceipt
waitForTransactionReceipt(java.lang.String transactionHash)
-
-
-
Method Detail
-
waitForTransactionReceipt
public TransactionReceipt waitForTransactionReceipt(java.lang.String transactionHash) throws java.io.IOException, TransactionException
- Specified by:
waitForTransactionReceipt
in classTransactionReceiptProcessor
- Throws:
java.io.IOException
TransactionException
-
-