Class ClientQuicSession
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.quic.common.QuicSession
org.eclipse.jetty.quic.client.ClientQuicSession
- All Implemented Interfaces:
Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class QuicSession
QuicSession.ListenerNested classes/interfaces inherited from class AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface Container
Container.InheritedListenerNested classes/interfaces inherited from interface Dumpable
Dumpable.DumpableContainer -
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedClientQuicSession(Executor executor, Scheduler scheduler, ByteBufferPool byteBufferPool, QuicheConnection quicheConnection, QuicConnection connection, InetSocketAddress remoteAddress, Map<String, Object> context) -
Method Summary
Modifier and TypeMethodDescriptionprotected ProtocolSessionnewConnection(QuicStreamEndPoint endPoint) protected RunnablepollTask()protected booleanMethods inherited from class QuicSession
doStart, doStop, dump, fill, flush, flush, getByteBufferPool, getConnectionId, getExecutor, getIdleTimeout, getLocalAddress, getMaxLocalStreams, getNegotiatedProtocol, getOrCreateStreamEndPoint, getPeerCertificates, getProtocolSession, getQuicConnection, getQuicStreamEndPoints, getRemoteAddress, getRemoteCloseInfo, getScheduler, getWindowCapacity, getWindowCapacity, inwardClose, isConnectionEstablished, isFinished, newStreamId, onFailure, onIdleTimeout, outwardClose, process, remove, setConnectionId, setIdleTimeout, shutdown, shutdownInput, shutdownOutput, toStringMethods inherited from class ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, installBean, installBean, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans, updateBeansMethods inherited from class AbstractLifeCycle
getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Container
getCachedBeans, getEventListenersMethods inherited from interface Dumpable.DumpableContainer
isDumpable
-
Constructor Details
-
ClientQuicSession
protected ClientQuicSession(Executor executor, Scheduler scheduler, ByteBufferPool byteBufferPool, QuicheConnection quicheConnection, QuicConnection connection, InetSocketAddress remoteAddress, Map<String, Object> context)
-
-
Method Details
-
pollTask
- Overrides:
pollTaskin classQuicSession
-
createProtocolSession
- Specified by:
createProtocolSessionin classQuicSession
-
validateNewlyEstablishedConnection
protected boolean validateNewlyEstablishedConnection()- Specified by:
validateNewlyEstablishedConnectionin classQuicSession- Returns:
- true if the connection is valid, false otherwise.
-
newConnection
- Specified by:
newConnectionin classQuicSession
-