public final class DefaultChannelId extends Object implements ChannelId
ChannelId implementation.| Modifier and Type | Method and Description |
|---|---|
String |
asLongText()
Returns the long yet globally unique string representation of the
ChannelId. |
String |
asShortText()
Returns the short but globally non-unique string representation of the
ChannelId. |
int |
compareTo(ChannelId o) |
boolean |
equals(Object obj) |
int |
hashCode() |
static DefaultChannelId |
newInstance()
Returns a new
DefaultChannelId instance. |
String |
toString() |
public static DefaultChannelId newInstance()
DefaultChannelId instance.public String asShortText()
ChannelIdChannelId.asShortText in interface ChannelIdpublic String asLongText()
ChannelIdChannelId.asLongText in interface ChannelIdpublic int compareTo(ChannelId o)
compareTo in interface Comparable<ChannelId>Copyright © 2008–2017 The Netty Project. All rights reserved.