public class PendingTransactionFilter extends Filter<java.lang.String>
Constructor and Description |
---|
PendingTransactionFilter(Web3j web3j,
Callback<java.lang.String> callback) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Optional<Request<?,EthLog>> |
getFilterLogs(java.math.BigInteger filterId)
Since the pending transaction filter does not support historic filters, the filterId is
ignored and an empty optional is returned
|
protected void |
process(java.util.List<EthLog.LogResult> logResults) |
protected EthFilter |
sendRequest() |
cancel, run, uninstallFilter
protected EthFilter sendRequest() throws java.io.IOException
sendRequest
in class Filter<java.lang.String>
java.io.IOException
protected void process(java.util.List<EthLog.LogResult> logResults)
protected java.util.Optional<Request<?,EthLog>> getFilterLogs(java.math.BigInteger filterId)
getFilterLogs
in class Filter<java.lang.String>
filterId
- Id of the filter for which the historic log should be retrieved