Class OfficeFloorEndPoint


  • public class OfficeFloorEndPoint
    extends org.apache.tomcat.util.net.AbstractEndpoint<java.lang.Void,​OfficeFloorEndPoint>
    OfficeFloor AbstractEndpoint.
    Author:
    Daniel Sagenschneider
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.tomcat.util.net.AbstractEndpoint

        org.apache.tomcat.util.net.AbstractEndpoint.BindState, org.apache.tomcat.util.net.AbstractEndpoint.Handler<S extends java.lang.Object>
    • Field Summary

      • Fields inherited from class org.apache.tomcat.util.net.AbstractEndpoint

        acceptor, acceptorThreadCount, acceptorThreadPriority, attributes, connections, internalExecutor, negotiableProtocols, paused, processorCache, running, sm, socketProperties, sslHostConfigs, threadPriority
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bind()  
      protected org.apache.tomcat.util.net.SocketProcessorBase<java.lang.Void> createSocketProcessor​(org.apache.tomcat.util.net.SocketWrapperBase<java.lang.Void> socketWrapper, org.apache.tomcat.util.net.SocketEvent event)  
      protected void createSSLContext​(org.apache.tomcat.util.net.SSLHostConfig sslHostConfig)  
      protected void destroySocket​(OfficeFloorEndPoint socket)  
      protected void doCloseServerSocket()  
      protected boolean getDeferAccept()  
      protected java.net.InetSocketAddress getLocalAddress()  
      protected org.apache.juli.logging.Log getLog()  
      OfficeFloorSocketWrapper getOfficeFloorSocketWrapper()
      boolean isAlpnSupported()  
      protected OfficeFloorEndPoint serverSocketAccept()  
      protected boolean setSocketOptions​(OfficeFloorEndPoint socket)  
      void startInternal()  
      void stopInternal()  
      void unbind()  
      • Methods inherited from class org.apache.tomcat.util.net.AbstractEndpoint

        addNegotiatedProtocol, addSslHostConfig, addSslHostConfig, awaitConnectionsClose, closeServerSocketGraceful, closeSocket, countDownConnection, countUpOrAwaitConnection, createExecutor, destroy, destroySsl, findSslHostConfigs, getAcceptCount, getAcceptorThreadCount, getAcceptorThreadPriority, getAddress, getAttribute, getBindOnInit, getBindState, getConnectionCount, getConnectionLinger, getConnections, getConnectionTimeout, getCurrentThreadCount, getCurrentThreadsBusy, getDaemon, getDefaultSSLHostConfigName, getDomain, getExecutor, getExecutorTerminationTimeoutMillis, getHandler, getId, getKeepAliveTimeout, getLocalPort, getMaxConnections, getMaxKeepAliveRequests, getMaxThreads, getMinSpareThreads, getName, getPort, getPortOffset, getPortWithOffset, getProperty, getSocketProperties, getSSLHostConfig, getTcpNoDelay, getThreadPriority, getUseAsyncIO, getUseSendfile, getUtilityExecutor, hasNegotiableProtocols, init, initializeConnectionLatch, isPaused, isRunning, isSSLEnabled, pause, processSocket, releaseSSLContext, reloadSslHostConfig, reloadSslHostConfigs, removeSslHostConfig, resume, setAcceptCount, setAcceptorThreadCount, setAcceptorThreadPriority, setAddress, setAttribute, setBindOnInit, setConnectionLinger, setConnectionTimeout, setDaemon, setDefaultSSLHostConfigName, setDomain, setExecutor, setExecutorTerminationTimeoutMillis, setHandler, setKeepAliveTimeout, setMaxConnections, setMaxKeepAliveRequests, setMaxThreads, setMinSpareThreads, setName, setPort, setPortOffset, setProperty, setSSLEnabled, setTcpNoDelay, setThreadPriority, setUseAsyncIO, setUseSendfile, setUtilityExecutor, shutdownExecutor, start, startAcceptorThread, stop, toTimeout, unlockAccept
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OfficeFloorEndPoint

        public OfficeFloorEndPoint()
        Initiate.
    • Method Detail

      • getLog

        protected org.apache.juli.logging.Log getLog()
        Specified by:
        getLog in class org.apache.tomcat.util.net.AbstractEndpoint<java.lang.Void,​OfficeFloorEndPoint>
      • bind

        public void bind()
                  throws java.lang.Exception
        Specified by:
        bind in class org.apache.tomcat.util.net.AbstractEndpoint<java.lang.Void,​OfficeFloorEndPoint>
        Throws:
        java.lang.Exception
      • startInternal

        public void startInternal()
                           throws java.lang.Exception
        Specified by:
        startInternal in class org.apache.tomcat.util.net.AbstractEndpoint<java.lang.Void,​OfficeFloorEndPoint>
        Throws:
        java.lang.Exception
      • stopInternal

        public void stopInternal()
                          throws java.lang.Exception
        Specified by:
        stopInternal in class org.apache.tomcat.util.net.AbstractEndpoint<java.lang.Void,​OfficeFloorEndPoint>
        Throws:
        java.lang.Exception
      • unbind

        public void unbind()
                    throws java.lang.Exception
        Specified by:
        unbind in class org.apache.tomcat.util.net.AbstractEndpoint<java.lang.Void,​OfficeFloorEndPoint>
        Throws:
        java.lang.Exception
      • isAlpnSupported

        public boolean isAlpnSupported()
        Specified by:
        isAlpnSupported in class org.apache.tomcat.util.net.AbstractEndpoint<java.lang.Void,​OfficeFloorEndPoint>
      • createSSLContext

        protected void createSSLContext​(org.apache.tomcat.util.net.SSLHostConfig sslHostConfig)
                                 throws java.lang.Exception
        Specified by:
        createSSLContext in class org.apache.tomcat.util.net.AbstractEndpoint<java.lang.Void,​OfficeFloorEndPoint>
        Throws:
        java.lang.Exception
      • getLocalAddress

        protected java.net.InetSocketAddress getLocalAddress()
                                                      throws java.io.IOException
        Specified by:
        getLocalAddress in class org.apache.tomcat.util.net.AbstractEndpoint<java.lang.Void,​OfficeFloorEndPoint>
        Throws:
        java.io.IOException
      • getDeferAccept

        protected boolean getDeferAccept()
        Specified by:
        getDeferAccept in class org.apache.tomcat.util.net.AbstractEndpoint<java.lang.Void,​OfficeFloorEndPoint>
      • createSocketProcessor

        protected org.apache.tomcat.util.net.SocketProcessorBase<java.lang.Void> createSocketProcessor​(org.apache.tomcat.util.net.SocketWrapperBase<java.lang.Void> socketWrapper,
                                                                                                       org.apache.tomcat.util.net.SocketEvent event)
        Specified by:
        createSocketProcessor in class org.apache.tomcat.util.net.AbstractEndpoint<java.lang.Void,​OfficeFloorEndPoint>
      • doCloseServerSocket

        protected void doCloseServerSocket()
                                    throws java.io.IOException
        Specified by:
        doCloseServerSocket in class org.apache.tomcat.util.net.AbstractEndpoint<java.lang.Void,​OfficeFloorEndPoint>
        Throws:
        java.io.IOException
      • serverSocketAccept

        protected OfficeFloorEndPoint serverSocketAccept()
                                                  throws java.lang.Exception
        Specified by:
        serverSocketAccept in class org.apache.tomcat.util.net.AbstractEndpoint<java.lang.Void,​OfficeFloorEndPoint>
        Throws:
        java.lang.Exception
      • setSocketOptions

        protected boolean setSocketOptions​(OfficeFloorEndPoint socket)
        Specified by:
        setSocketOptions in class org.apache.tomcat.util.net.AbstractEndpoint<java.lang.Void,​OfficeFloorEndPoint>
      • destroySocket

        protected void destroySocket​(OfficeFloorEndPoint socket)
        Specified by:
        destroySocket in class org.apache.tomcat.util.net.AbstractEndpoint<java.lang.Void,​OfficeFloorEndPoint>