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

    protected class ServerConnector.ServerConnectorManager
    extends org.eclipse.jetty.io.SelectorManager
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jetty.io.SelectorManager

        org.eclipse.jetty.io.SelectorManager.AcceptListener
      • 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.LifeCycle

        org.eclipse.jetty.util.component.LifeCycle.Listener
    • Field Summary

      • Fields inherited from class org.eclipse.jetty.io.SelectorManager

        DEFAULT_CONNECT_TIMEOUT, LOG
      • 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)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void accepted​(java.nio.channels.SelectableChannel channel)  
      protected void endPointClosed​(org.eclipse.jetty.io.EndPoint endpoint)  
      protected void endPointOpened​(org.eclipse.jetty.io.EndPoint endpoint)  
      org.eclipse.jetty.io.Connection newConnection​(java.nio.channels.SelectableChannel channel, org.eclipse.jetty.io.EndPoint endpoint, java.lang.Object attachment)  
      protected org.eclipse.jetty.io.ChannelEndPoint newEndPoint​(java.nio.channels.SelectableChannel channel, org.eclipse.jetty.io.ManagedSelector selectSet, java.nio.channels.SelectionKey selectionKey)  
      java.lang.String toString()  
      • Methods inherited from class org.eclipse.jetty.io.SelectorManager

        accept, accept, acceptor, addAcceptListener, addEventListener, connect, connectionClosed, connectionFailed, connectionOpened, doAccept, doFinishConnect, doStart, doStop, execute, getConnectTimeout, getExecutor, getReservedThreads, getScheduler, getSelectorCount, isConnectionPending, newSelector, newSelector, onAccepted, onAcceptFailed, onAccepting, removeAcceptListener, removeEventListener, setConnectTimeout, setReservedThreads
      • Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle

        addBean, addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
      • Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, 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.Dumpable

        dump, dump, dumpSelf
    • 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 org.eclipse.jetty.io.SelectorManager
        Throws:
        java.io.IOException
      • newEndPoint

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

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

        protected void endPointOpened​(org.eclipse.jetty.io.EndPoint endpoint)
        Overrides:
        endPointOpened in class org.eclipse.jetty.io.SelectorManager
      • endPointClosed

        protected void endPointClosed​(org.eclipse.jetty.io.EndPoint endpoint)
        Overrides:
        endPointClosed in class org.eclipse.jetty.io.SelectorManager
      • toString

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