public final class Endpoint
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
IpAddress |
host() |
int |
port() |
java.lang.String |
toString() |
public Endpoint(IpAddress host, int port)
public IpAddress host()
public int port()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object