final class RemoteHostId extends Object
Constructor and Description |
---|
RemoteHostId(byte[] ip,
int port)
direct
|
RemoteHostId(Hash peerHash)
indirect
|
Modifier and Type | Method and 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()