Class ServerProtocolSession
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.quic.common.ProtocolSession
org.eclipse.jetty.quic.server.ServerProtocolSession
- All Implemented Interfaces:
Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
Server specific implementation of ProtocolSession.
-
Nested Class Summary
Nested classes/interfaces inherited from class ProtocolSession
ProtocolSession.FactoryNested classes/interfaces inherited from class AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface Container
Container.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface LifeCycle
LifeCycle.Listener -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoStart()Starts the managed lifecycle beans in the order they were added.protected voiddoStop()Stops the managed lifecycle beans in the reverse order they were added.protected voidprotected voidprotected booleanonReadable(long readableStreamId) protected voidonStart()protected voidonStop()Methods inherited from class ProtocolSession
getIdleTimeout, getMaxLocalStreams, getOrCreateStreamEndPoint, getStreamEndPoint, inwardClose, offer, onIdleTimeout, onWritable, openProtocolEndPoint, outwardClose, processReadableStreams, processWritableStreams, produce, shutdown, toStringMethods inherited from class ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, 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
isDumpable
-
Constructor Details
-
ServerProtocolSession
-
-
Method Details
-
getQuicSession
- Overrides:
getQuicSessionin classProtocolSession
-
doStart
Description copied from class:ContainerLifeCycleStarts the managed lifecycle beans in the order they were added.- Overrides:
doStartin classContainerLifeCycle- Throws:
Exception- If there was a problem starting. Will cause a transition to FAILED state
-
onStart
protected void onStart() -
doStop
Description copied from class:ContainerLifeCycleStops the managed lifecycle beans in the reverse order they were added.- Overrides:
doStopin classContainerLifeCycle- Throws:
Exception- If there was a problem stopping. Will cause a transition to FAILED state
-
onStop
protected void onStop() -
getProducerTask
- Specified by:
getProducerTaskin classProtocolSession
-
onReadable
protected boolean onReadable(long readableStreamId) - Specified by:
onReadablein classProtocolSession
-
onFailure
- Overrides:
onFailurein classProtocolSession
-
onClose
- Specified by:
onClosein classProtocolSession
-