Class Http2StreamChannelId

  • All Implemented Interfaces:
    ChannelId, java.io.Serializable, java.lang.Comparable<ChannelId>

    final class Http2StreamChannelId
    extends java.lang.Object
    implements ChannelId
    ChannelId implementation which is used by our Http2StreamChannel implementation.
    • Field Detail

      • id

        private final int id
    • Constructor Detail

      • Http2StreamChannelId

        Http2StreamChannelId​(ChannelId parentId,
                             int id)
    • Method Detail

      • asShortText

        public java.lang.String asShortText()
        Description copied from interface: ChannelId
        Returns the short but globally non-unique string representation of the ChannelId.
        Specified by:
        asShortText in interface ChannelId
      • asLongText

        public java.lang.String asLongText()
        Description copied from interface: ChannelId
        Returns the long yet globally unique string representation of the ChannelId.
        Specified by:
        asLongText in interface ChannelId
      • compareTo

        public int compareTo​(ChannelId o)
        Specified by:
        compareTo in interface java.lang.Comparable<ChannelId>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object