Class ServerConnector.ServerConnectorManager

  • 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
    Enclosing class:
    ServerConnector

    protected class ServerConnector.ServerConnectorManager
    extends SelectorManager
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
      • 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, RUNNING, STARTED, STARTING, STOPPED, STOPPING
      • Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

        KEY
    • Constructor Summary

      Constructors 
      Constructor Description
      ServerConnectorManager​(java.util.concurrent.Executor executor, org.eclipse.jetty.util.thread.Scheduler scheduler, int selectors)  
    • Constructor Detail

      • ServerConnectorManager

        public ServerConnectorManager​(java.util.concurrent.Executor executor,
                                      org.eclipse.jetty.util.thread.Scheduler scheduler,
                                      int selectors)
    • Method Detail

      • accepted

        protected void accepted​(java.nio.channels.SelectableChannel channel)
                         throws java.io.IOException
        Overrides:
        accepted in class SelectorManager
        Throws:
        java.io.IOException
      • newEndPoint

        protected ChannelEndPoint newEndPoint​(java.nio.channels.SelectableChannel channel,
                                              ManagedSelector selectSet,
                                              java.nio.channels.SelectionKey selectionKey)
                                       throws java.io.IOException
        Specified by:
        newEndPoint in class SelectorManager
        Throws:
        java.io.IOException
      • newConnection

        public Connection newConnection​(java.nio.channels.SelectableChannel channel,
                                        EndPoint endpoint,
                                        java.lang.Object attachment)
                                 throws java.io.IOException
        Specified by:
        newConnection in class SelectorManager
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.eclipse.jetty.util.component.AbstractLifeCycle