Modifier and Type | Field and Description |
---|---|
protected org.web3j.protocol.Web3jService |
web3jService
Deprecated.
|
Constructor and Description |
---|
JsonRpc2_0Net(org.web3j.protocol.Web3jService web3jService)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.web3j.protocol.core.Request<?,Bytes> |
getNetworkId()
Deprecated.
Returns the network identifier (network ID).
|
org.web3j.protocol.core.Request<?,Quantity> |
getPeerCount()
Deprecated.
Returns the number of peers currently connected to the client.
|
org.web3j.protocol.core.Request<?,KlayPeerCount> |
getPeerCountByType()
Deprecated.
Returns the number of connected nodes by type and the total number of connected nodes.
|
org.web3j.protocol.core.Request<?,Boolean> |
isListening()
Deprecated.
Returns true if the client is actively listening for network connections.
|
public JsonRpc2_0Net(org.web3j.protocol.Web3jService web3jService)
public org.web3j.protocol.core.Request<?,Bytes> getNetworkId()
Net
getNetworkId
in interface Net
public org.web3j.protocol.core.Request<?,Boolean> isListening()
Net
isListening
in interface Net
public org.web3j.protocol.core.Request<?,Quantity> getPeerCount()
Net
getPeerCount
in interface Net
public org.web3j.protocol.core.Request<?,KlayPeerCount> getPeerCountByType()
Net
getPeerCountByType
in interface Net