public abstract class Filter<T>
extends java.lang.Object
Constructor and Description |
---|
Filter(Web3j web3j,
Callback<T> callback) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
protected abstract java.util.Optional<Request<?,EthLog>> |
getFilterLogs(java.math.BigInteger filterId)
Retrieves historic filters for the filter with the given id.
|
void |
run(java.util.concurrent.ScheduledExecutorService scheduledExecutorService,
long blockTime) |
public void run(java.util.concurrent.ScheduledExecutorService scheduledExecutorService, long blockTime)
public void cancel()
protected abstract java.util.Optional<Request<?,EthLog>> getFilterLogs(java.math.BigInteger filterId)
filterId
- Id of the filter for which the historic log should be retrieved