Class EthSyncing
- java.lang.Object
-
- org.web3j.protocol.core.Response<EthSyncing.Result>
-
- org.web3j.protocol.core.methods.response.EthSyncing
-
public class EthSyncing extends Response<EthSyncing.Result>
eth_syncing.Returns an object with data about the sync status or false.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EthSyncing.ResponseDeserialiser
static class
EthSyncing.Result
static class
EthSyncing.Syncing
-
Nested classes/interfaces inherited from class org.web3j.protocol.core.Response
Response.Error
-
-
Constructor Summary
Constructors Constructor Description EthSyncing()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSyncing()
void
setResult(EthSyncing.Result result)
-
Methods inherited from class org.web3j.protocol.core.Response
getError, getId, getJsonrpc, getRawResponse, getResult, hasError, setError, setId, setJsonrpc, setRawResponse
-
-
-
-
Method Detail
-
setResult
public void setResult(EthSyncing.Result result)
- Overrides:
setResult
in classResponse<EthSyncing.Result>
-
isSyncing
public boolean isSyncing()
-
-