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