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:
org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.LifeCycle

public class ServerProtocolSession extends org.eclipse.jetty.quic.common.ProtocolSession

Server specific implementation of ProtocolSession.

  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.jetty.quic.common.ProtocolSession

    org.eclipse.jetty.quic.common.ProtocolSession.Factory

    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.StopException

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container

    org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable

    org.eclipse.jetty.util.component.Dumpable.DumpableContainer

    Nested 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, STOPPING

    Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

    KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
     
     
     
    protected void
    onClose(long error, String reason)
     
    protected void
    onFailure(long error, String reason, Throwable failure)
     
    protected boolean
    onReadable(long readableStreamId)
     
    protected void
     
    protected void
     

    Methods inherited from class org.eclipse.jetty.quic.common.ProtocolSession

    getIdleTimeout, getMaxLocalStreams, getOrCreateStreamEndPoint, getStreamEndPoint, inwardClose, offer, onIdleTimeout, onWritable, openProtocolEndPoint, outwardClose, processReadableStreams, processWritableStreams, produce, shutdown, toString

    Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle

    addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, 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

    dumpSelf

    Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer

    isDumpable
  • Constructor Details

  • Method Details

    • getQuicSession

      public ServerQuicSession getQuicSession()
      Overrides:
      getQuicSession in class org.eclipse.jetty.quic.common.ProtocolSession
    • doStart

      protected void doStart() throws Exception
      Overrides:
      doStart in class org.eclipse.jetty.util.component.ContainerLifeCycle
      Throws:
      Exception
    • onStart

      protected void onStart()
    • doStop

      protected void doStop() throws Exception
      Overrides:
      doStop in class org.eclipse.jetty.util.component.ContainerLifeCycle
      Throws:
      Exception
    • onStop

      protected void onStop()
    • getProducerTask

      public Runnable getProducerTask()
      Specified by:
      getProducerTask in class org.eclipse.jetty.quic.common.ProtocolSession
    • onReadable

      protected boolean onReadable(long readableStreamId)
      Specified by:
      onReadable in class org.eclipse.jetty.quic.common.ProtocolSession
    • onFailure

      protected void onFailure(long error, String reason, Throwable failure)
      Overrides:
      onFailure in class org.eclipse.jetty.quic.common.ProtocolSession
    • onClose

      protected void onClose(long error, String reason)
      Specified by:
      onClose in class org.eclipse.jetty.quic.common.ProtocolSession