Package org.eclipse.jetty.quic.common
Class QuicSessionContainer
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.quic.common.QuicSessionContainer
- All Implemented Interfaces:
EventListener,QuicSession.Listener,org.eclipse.jetty.util.component.Dumpable,org.eclipse.jetty.util.component.Graceful,org.eclipse.jetty.util.component.LifeCycle
public class QuicSessionContainer
extends org.eclipse.jetty.util.component.AbstractLifeCycle
implements QuicSession.Listener, org.eclipse.jetty.util.component.Graceful, org.eclipse.jetty.util.component.Dumpable
A container that tracks QuicSession instances.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener, org.eclipse.jetty.util.component.AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Graceful
org.eclipse.jetty.util.component.Graceful.Shutdown, org.eclipse.jetty.util.component.Graceful.ThrowingRunnableNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
org.eclipse.jetty.util.component.LifeCycle.Listener -
Field Summary
Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
FAILED, STARTED, STARTING, STOPPED, STOPPINGFields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondump()voiddump(Appendable out, String indent) booleanvoidonClosed(QuicSession session) Callback method invoked when aQuicSessionis closed.voidonOpened(QuicSession session) Callback method invoked when aQuicSessionis opened.shutdown()Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addEventListener, doStart, doStop, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.component.Dumpable
dumpSelf
-
Constructor Details
-
QuicSessionContainer
public QuicSessionContainer()
-
-
Method Details
-
onOpened
Description copied from interface:QuicSession.ListenerCallback method invoked when a
QuicSessionis opened.- Specified by:
onOpenedin interfaceQuicSession.Listener- Parameters:
session- the session
-
onClosed
Description copied from interface:QuicSession.ListenerCallback method invoked when a
QuicSessionis closed.- Specified by:
onClosedin interfaceQuicSession.Listener- Parameters:
session- the session
-
shutdown
- Specified by:
shutdownin interfaceorg.eclipse.jetty.util.component.Graceful
-
isShutdown
public boolean isShutdown()- Specified by:
isShutdownin interfaceorg.eclipse.jetty.util.component.Graceful
-
dump
- Specified by:
dumpin interfaceorg.eclipse.jetty.util.component.Dumpable
-
dump
- Specified by:
dumpin interfaceorg.eclipse.jetty.util.component.Dumpable- Throws:
IOException
-