Package org.eclipse.jetty.quic.client
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 org.eclipse.jetty.quic.common.QuicSession
QuicSession.Listener
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopException
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ClientQuicSession
(Executor executor, Scheduler scheduler, ByteBufferPool byteBufferPool, org.eclipse.jetty.quic.quiche.QuicheConnection quicheConnection, QuicConnection connection, InetSocketAddress remoteAddress, Map<String, Object> context) -
Method Summary
Modifier and TypeMethodDescriptionprotected ProtocolSession
newConnection
(QuicStreamEndPoint endPoint) protected Runnable
pollTask()
protected boolean
Methods inherited from class org.eclipse.jetty.quic.common.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, toString
Methods inherited from class org.eclipse.jetty.util.component.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, updateBeans
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.util.component.Container
getCachedBeans, getEventListeners
Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpable
-
Constructor Details
-
ClientQuicSession
protected ClientQuicSession(Executor executor, Scheduler scheduler, ByteBufferPool byteBufferPool, org.eclipse.jetty.quic.quiche.QuicheConnection quicheConnection, QuicConnection connection, InetSocketAddress remoteAddress, Map<String, Object> context)
-
-
Method Details
-
pollTask
- Overrides:
pollTask
in classQuicSession
-
createProtocolSession
- Specified by:
createProtocolSession
in classQuicSession
-
validateNewlyEstablishedConnection
protected boolean validateNewlyEstablishedConnection()- Specified by:
validateNewlyEstablishedConnection
in classQuicSession
- Returns:
- true if the connection is valid, false otherwise.
-
newConnection
- Specified by:
newConnection
in classQuicSession
-