Class QuicStreamPriority

    • Constructor Detail

      • QuicStreamPriority

        public QuicStreamPriority​(int urgency,
                                  boolean incremental)
        Create a new instance
        Parameters:
        urgency - the urgency of the stream.
        incremental - true if incremental.
    • Method Detail

      • urgency

        public int urgency()
        The urgency of the stream. Smaller number means more urgent and so data will be send earlier.
        Returns:
        the urgency.
      • isIncremental

        public boolean isIncremental()
        true if incremental, false otherwise.
        Returns:
        if incremental.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object