Class QuicStreamAddress

  • All Implemented Interfaces:
    java.io.Serializable

    public final class QuicStreamAddress
    extends java.net.SocketAddress
    A SocketAddress for QUIC stream.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      QuicStreamAddress​(long streamId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      long streamId()
      Return the id of the stream.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • QuicStreamAddress

        public QuicStreamAddress​(long streamId)
    • Method Detail

      • streamId

        public long streamId()
        Return the id of the stream.
        Returns:
        the id.
      • 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