public class BlocksFilter extends Filter<java.util.List<java.lang.String>>
| Constructor and Description |
|---|
BlocksFilter(Web3j web3j,
Callback<java.util.List<java.lang.String>> callback) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Optional<Request<?,EthLog>> |
getFilterLogs(java.math.BigInteger filterId)
Since the block 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, uninstallFilterprotected EthFilter sendRequest() throws java.io.IOException
sendRequest in class Filter<java.util.List<java.lang.String>>java.io.IOExceptionprotected void process(java.util.List<EthLog.LogResult> logResults)
protected java.util.Optional<Request<?,EthLog>> getFilterLogs(java.math.BigInteger filterId)
getFilterLogs in class Filter<java.util.List<java.lang.String>>filterId - Id of the filter for which the historic log should be retrieved