Package io.netty.channel.embedded
Class EmbeddedChannelId
- java.lang.Object
-
- io.netty.channel.embedded.EmbeddedChannelId
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static ChannelIdINSTANCEprivate static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateEmbeddedChannelId()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringasLongText()Returns the long yet globally unique string representation of theChannelId.java.lang.StringasShortText()Returns the short but globally non-unique string representation of theChannelId.intcompareTo(ChannelId o)booleanequals(java.lang.Object obj)inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
INSTANCE
static final ChannelId INSTANCE
-
-
Method Detail
-
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
public int compareTo(ChannelId o)
- Specified by:
compareToin interfacejava.lang.Comparable<ChannelId>
-
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
-
-