Top Description Fields Constructors Methods
org.eclipse.jetty.quic.client

public Class ClientQuicSession

extends QuicSession
Class Inheritance
Imports
java.io.IOException, java.net.InetSocketAddress, java.util.Map, java.util.concurrent.Executor, java.util.concurrent.atomic.AtomicReference, org.eclipse.jetty.io.ByteBufferPool, .ClientConnectionFactory, .ClientConnector, .Connection, .RuntimeIOException, org.eclipse.jetty.quic.common.ProtocolSession, .QuicConnection, .QuicSession, .QuicStreamEndPoint, org.eclipse.jetty.quic.quiche.QuicheConnection, org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.thread.Scheduler

The client specific implementation of QuicSession.

When asked to create a QUIC stream, it creates a QuicStreamEndPoint with an associated Connection created from the ClientConnectionFactory, retrieved from the connection context map.

Field Summary

Modifier and TypeField and Description
private final Map<String, Object>
private final AtomicReference<Runnable>

Constructor Summary

AccessConstructor and Description
protected
ClientQuicSession(Executor executor, Scheduler scheduler, ByteBufferPool byteBufferPool, QuicheConnection quicheConnection, QuicConnection connection, InetSocketAddress remoteAddress, Map<String, Object> context)

Method Summary

Modifier and TypeMethod and Description
protected ProtocolSession
public Connection
pack-priv void
protected Runnable
Inherited from org.eclipse.jetty.quic.common.QuicSession:
doStartdoStopdumpfillflushflushgetByteBufferPoolgetConnectionIdgetExecutorgetIdleTimeoutgetLocalAddressgetMaxLocalStreamsgetNegotiatedProtocolgetOrCreateStreamEndPointgetProtocolSessiongetQuicConnectiongetQuicStreamEndPointsgetRemoteAddressgetRemoteCloseInfogetSchedulergetWindowCapacitygetWindowCapacityinwardCloseisConnectionEstablishedisFinishednewStreamIdonFailureonIdleTimeoutoutwardCloseprocessremovesetConnectionIdsetIdleTimeoutshutdownshutdownInputshutdownOutputtoString

Field Detail

contextback to summary
private final Map<String, Object> context
taskback to summary
private final AtomicReference<Runnable> task

Constructor Detail

ClientQuicSessionback to summary
protected ClientQuicSession(Executor executor, Scheduler scheduler, ByteBufferPool byteBufferPool, QuicheConnection quicheConnection, QuicConnection connection, InetSocketAddress remoteAddress, Map<String, Object> context)

Method Detail

createProtocolSessionback to summary
protected ProtocolSession createProtocolSession()

Implements abstract org.eclipse.jetty.quic.common.QuicSession.createProtocolSession.

Annotations
@Override
newConnectionback to summary
public Connection newConnection(QuicStreamEndPoint endPoint)

Implements abstract org.eclipse.jetty.quic.common.QuicSession.newConnection.

Annotations
@Override
offerTaskback to summary
pack-priv void offerTask(Runnable task)
pollTaskback to summary
protected Runnable pollTask()

Overrides org.eclipse.jetty.quic.common.QuicSession.pollTask.

Annotations
@Override