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