Class QuicTripConnection

All Implemented Interfaces:
Poolable<Connection>, Connection

public class QuicTripConnection extends AbstractConnection
QUIC connection.
  • Constructor Details

    • QuicTripConnection

      public QuicTripConnection(QuicTripTransport transport, Dictionary dictionary, BooleanSupplier connectionAlive, tech.kwik.core.QuicStream quicStream)
      Creates a new QUIC connection.

      Notice: the constructor sends the TRIP preamble, so it may well fail. The stream is only owned by the connection once the constructor returned; until then, closing it is up to the caller.

      Parameters:
      transport - the transport associated with this connection
      dictionary - the dictionary associated with this connection
      connectionAlive - tells whether the QUIC connection the stream belongs to is still established
      quicStream - the QUIC stream associated with this connection
  • Method Details