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.
Dispatches each stream a client opens to a TRIP connection handler running on a virtual thread.
-
Constructor Summary
ConstructorsConstructorDescriptionQuicProtocolConnection(QuicTripTransport transport) Creates a protocol connection. -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptPeerInitiatedStream(tech.kwik.core.QuicStream quicStream)
-
Constructor Details
-
QuicProtocolConnection
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:
acceptPeerInitiatedStreamin interfacetech.kwik.core.server.ApplicationProtocolConnection
-