Class AbstractSession
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.quic.common.AbstractSession
- All Implemented Interfaces:
 Session, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
- Direct Known Subclasses:
 QuicheSession
- 
Nested Class Summary
Nested ClassesNested 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, Dumpable.DumpAppendable - 
Field Summary
 - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSession(Executor executor, QuicConfiguration configuration, Session.Listener listener)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidclose(ConnectionCloseFrame frame, Promise.Invocable<Session> promise) Closes this session with the givenCONNECTION_CLOSEframe.protected voidprotected voidemitOpen()abstract X509Certificate[]protected voidnotifyClose(ConnectionCloseFrame frame) protected voidprotected voidprotected booleannotifyIdleTimeout(TimeoutException failure) protected voidnotifyLocalClose(ConnectionCloseFrame frame, Promise.Invocable<Session> promise) protected voidnotifyMaxData(MaxDataFrame frame) protected voidnotifyMaxStreams(MaxStreamsFrame frame) protected Stream.Listenerprotected voidprotected voidprotected TransportParametersprotected voidprotected voidnotifyTransportParameters(TransportParameters parameters) abstract voidshutdown()toString()Methods inherited from class ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, 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
isDumpableMethods inherited from interface Session
disconnect, getId, getIdleTimeout, getLocalBidirectionalMaxStreams, getLocalSocketAddress, getRemoteSocketAddress, getStream, getStreams, maxData, maxStreams, newStream, newStreamId, ping 
- 
Constructor Details
- 
AbstractSession
protected AbstractSession(Executor executor, QuicConfiguration configuration, Session.Listener listener)  
 - 
 - 
Method Details
- 
getExecutor
 - 
getQuicConfiguration
 - 
getListener
 - 
getPeerCertificates
 - 
emitOpen
protected void emitOpen() - 
emitDisconnect
protected void emitDisconnect() - 
offerTask
 - 
shutdown
 - 
close
Description copied from interface:SessionCloses this session with the given
CONNECTION_CLOSEframe.Applications should use this method in conjunction with
ConnectionCloseFrame(long, String).Differently from
Session.disconnect(ConnectionCloseFrame, Throwable, Promise.Invocable), this method performs close actions inwards, towards the application, that may perform additional actions such as writing to the network, for example close frames for a protocol on top of QUIC.After finishing the inward actions,
Session.disconnect(ConnectionCloseFrame, Throwable, Promise.Invocable)should be called to perform close actions outwards and eventually send the QUIC close frame and finally disconnect at the network level, if necessary. - 
notifyOpen
protected void notifyOpen() - 
notifyNewStream
 - 
notifyPrepare
 - 
notifyTransportParameters
 - 
notifyMaxStreams
 - 
notifyDataBlocked
 - 
notifyMaxData
 - 
notifyPing
protected void notifyPing() - 
notifyStreamsBlocked
 - 
notifyIdleTimeout
 - 
notifyLocalClose
 - 
notifyClose
 - 
notifyDisconnect
protected void notifyDisconnect() - 
toString
- Overrides:
 toStringin classAbstractLifeCycle
 
 -