Class EmbeddedChannelId
java.lang.Object
io.netty.channel.embedded.EmbeddedChannelId
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final ChannelIdprivate static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjava.lang.StringReturns the long yet globally unique string representation of theChannelId.java.lang.StringReturns the short but globally non-unique string representation of theChannelId.intbooleanequals(java.lang.Object obj) inthashCode()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
INSTANCE
-
-
Constructor Details
-
EmbeddedChannelId
private EmbeddedChannelId()
-
-
Method Details
-
asShortText
public java.lang.String asShortText()Description copied from interface:ChannelIdReturns the short but globally non-unique string representation of theChannelId.- Specified by:
asShortTextin interfaceChannelId
-
asLongText
public java.lang.String asLongText()Description copied from interface:ChannelIdReturns the long yet globally unique string representation of theChannelId.- Specified by:
asLongTextin interfaceChannelId
-
compareTo
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj) - Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-