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()
ChannelId
ChannelId
.asShortText
in interface ChannelId
public String asLongText()
ChannelId
ChannelId
.asLongText
in interface ChannelId
public int compareTo(ChannelId o)
compareTo
in interface Comparable<ChannelId>
Copyright © 2008–2017 The Netty Project. All rights reserved.