Class EmbeddedChannelId

java.lang.Object
io.netty.channel.embedded.EmbeddedChannelId
All Implemented Interfaces:
ChannelId, java.io.Serializable, java.lang.Comparable<ChannelId>

final class EmbeddedChannelId extends java.lang.Object implements ChannelId
A dummy ChannelId implementation.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final ChannelId
     
    private static final long
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    java.lang.String
    Returns the long yet globally unique string representation of the ChannelId.
    java.lang.String
    Returns the short but globally non-unique string representation of the ChannelId.
    int
     
    boolean
    equals(java.lang.Object obj)
     
    int
     
    java.lang.String
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • EmbeddedChannelId

      private EmbeddedChannelId()
  • Method Details

    • 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