Class Endpoint
- java.lang.Object
-
- org.onosproject.store.cluster.messaging.Endpoint
-
public final class Endpoint extends java.lang.Object
Representation of a TCP/UDP communication end point.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
IpAddress
host()
int
port()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Endpoint
public Endpoint(IpAddress host, int port)
-
-
Method Detail
-
host
public IpAddress host()
-
port
public int port()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-