final class RemoteHostId extends Object
| Constructor | Description |
|---|---|
RemoteHostId(byte[] ip,
int port) |
direct
|
RemoteHostId(Hash peerHash) |
indirect
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object obj) |
|
byte[] |
getIP() |
|
Hash |
getPeerHash() |
|
int |
getPort() |
|
int |
hashCode() |
|
String |
toString() |
public RemoteHostId(byte[] ip,
int port)
public RemoteHostId(Hash peerHash)
public byte[] getIP()
public int getPort()
public Hash getPeerHash()