Class StreamKey


  • public final class StreamKey
    extends java.lang.Object
    Represents a single data stream, identified by channel and streamId.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getChannel()
      Returns the channel.
      int getStreamId()
      Returns the streamId.
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getChannel

        public java.lang.String getChannel()
        Returns the channel.
        Returns:
        the channel
      • getStreamId

        public int getStreamId()
        Returns the streamId.
        Returns:
        the streamId
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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