public final class VirtualAddress extends SocketAddress implements Comparable<VirtualAddress>
| Modifier and Type | Field and Description |
|---|---|
static VirtualAddress |
ANY |
| Constructor and Description |
|---|
VirtualAddress(io.netty.channel.Channel channel)
Creates a new ephemeral port based on the ID of the specified channel.
|
VirtualAddress(String id)
Creates a new instance with the specified ID.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(VirtualAddress o) |
boolean |
equals(Object o) |
int |
hashCode() |
String |
id()
Returns the ID of this address.
|
String |
toString() |
public static final VirtualAddress ANY
VirtualAddress(io.netty.channel.Channel channel)
public VirtualAddress(String id)
public String id()
public int compareTo(VirtualAddress o)
compareTo in interface Comparable<VirtualAddress>Copyright © 2021 JBoss by Red Hat. All rights reserved.