public final class LocalAddress extends SocketAddress implements Comparable<LocalAddress>
"ephemeral"
.
"ephemeral"
, but they are not equal to each other.Constructor and Description |
---|
LocalAddress(int id)
Creates a new instance with the specified ID.
|
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) |
String |
getId()
Returns the ID of this address.
|
int |
hashCode() |
boolean |
isEphemeral()
Returns
true if and only if this address is ephemeral. |
String |
toString() |
public static final String EPHEMERAL
public LocalAddress(int id)
public LocalAddress(String id)
public String getId()
public boolean isEphemeral()
true
if and only if this address is ephemeral.public int compareTo(LocalAddress o)
compareTo
in interface Comparable<LocalAddress>
Copyright © 2008-2014 The Netty Project. All Rights Reserved.