Class AdminPeers.Peer
- java.lang.Object
-
- org.web3j.protocol.core.methods.response.admin.AdminPeers.Peer
-
- Enclosing class:
- AdminPeers
public static class AdminPeers.Peer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Peer()
Peer(java.lang.String id, java.lang.String name, java.lang.String enode, AdminPeers.PeerNetwork network)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEnode()
java.lang.String
getId()
java.lang.String
getName()
AdminPeers.PeerNetwork
getNetwork()
-
-
-
Constructor Detail
-
Peer
public Peer()
-
Peer
public Peer(java.lang.String id, java.lang.String name, java.lang.String enode, AdminPeers.PeerNetwork network)
- Parameters:
id
-name
-enode
-network
-
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
-
getName
public java.lang.String getName()
- Returns:
-
getEnode
public java.lang.String getEnode()
- Returns:
-
getNetwork
public AdminPeers.PeerNetwork getNetwork()
-
-