Class QuicStreamPriority


  • public final class QuicStreamPriority
    extends java.lang.Object
    The priority of a QuicStreamChannel.
    • Constructor Summary

      Constructors 
      Constructor Description
      QuicStreamPriority​(int urgency, boolean incremental)
      Create a new instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      boolean isIncremental()
      true if incremental, false otherwise.
      java.lang.String toString()  
      int urgency()
      The urgency of the stream.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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.
      • 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
      • toString

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