Package org.web3j.protocol.core.filters
Class LogsFilter
Logs filter handler.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFilterLogs
(BigInteger filterId) Retrieves historic filters for the filter with the given id.protected void
process
(List<EthLog.LogResult> logResults) protected EthFilter
Methods inherited from class org.web3j.protocol.core.filters.Filter
cancel, run, uninstallFilter
-
Constructor Details
-
LogsFilter
-
-
Method Details
-
sendRequest
- Specified by:
sendRequest
in classFilter<List<Log>>
- Throws:
IOException
-
process
-
getFilterLogs
Description copied from class:Filter
Retrieves historic filters for the filter with the given id. Getting historic logs is not supported by all filters. If not the method should return an empty EthLog object- Specified by:
getFilterLogs
in classFilter<List<Log>>
- Parameters:
filterId
- Id of the filter for which the historic log should be retrieved- Returns:
- Historic logs, or an empty optional if the filter cannot retrieve historic logs
-