public final class LocalAddress extends java.net.SocketAddress implements java.lang.Comparable<LocalAddress>
Modifier and Type | Field and Description |
---|---|
static LocalAddress |
ANY |
Constructor and Description |
---|
LocalAddress(java.lang.String id)
Creates a new instance with the specified ID.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(LocalAddress o) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
id()
Returns the ID of this address.
|
java.lang.String |
toString() |
public static final LocalAddress ANY
public LocalAddress(java.lang.String id)
public java.lang.String id()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(LocalAddress o)
compareTo
in interface java.lang.Comparable<LocalAddress>
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2008–2018 The Netty Project. All rights reserved.