Class QuicProtocolConnection

java.lang.Object
org.tentackle.quic.QuicProtocolConnection
All Implemented Interfaces:
tech.kwik.core.server.ApplicationProtocolConnection

public class QuicProtocolConnection extends Object implements tech.kwik.core.server.ApplicationProtocolConnection
The server side of a QUIC connection.
Dispatches each stream a client opens to a TRIP connection handler running on a virtual thread.
  • Constructor Details

    • QuicProtocolConnection

      public QuicProtocolConnection(QuicTripTransport transport)
      Creates a protocol connection.
      Parameters:
      transport - the transport the streams belong to
  • Method Details

    • acceptPeerInitiatedStream

      public void acceptPeerInitiatedStream(tech.kwik.core.QuicStream quicStream)
      Specified by:
      acceptPeerInitiatedStream in interface tech.kwik.core.server.ApplicationProtocolConnection