Class WSTCPTomcatProtocolHandlerBase

  • All Implemented Interfaces:
    Runnable, org.apache.coyote.ProtocolHandler

    public abstract class WSTCPTomcatProtocolHandlerBase
    extends Object
    implements org.apache.coyote.ProtocolHandler, Runnable
    SOAP/TCP implementation of Tomcat ProtocolHandler, based on Grizzly 1.0
    Author:
    Alexey Stashok
    • Field Detail

      • port

        protected int port
      • redirectHttpPort

        protected int redirectHttpPort
      • readThreadsCount

        protected int readThreadsCount
      • maxWorkerThreadsCount

        protected int maxWorkerThreadsCount
      • minWorkerThreadsCount

        protected int minWorkerThreadsCount
    • Constructor Detail

      • WSTCPTomcatProtocolHandlerBase

        public WSTCPTomcatProtocolHandlerBase()
    • Method Detail

      • setAttribute

        public void setAttribute​(String string,
                                 Object object)
      • getAttribute

        public Object getAttribute​(String string)
      • getAttributeNames

        public Iterator getAttributeNames()
      • setAdapter

        public void setAdapter​(org.apache.coyote.Adapter adapter)
        Specified by:
        setAdapter in interface org.apache.coyote.ProtocolHandler
      • getAdapter

        public org.apache.coyote.Adapter getAdapter()
        Specified by:
        getAdapter in interface org.apache.coyote.ProtocolHandler
      • init

        public void init()
                  throws Exception
        Specified by:
        init in interface org.apache.coyote.ProtocolHandler
        Throws:
        Exception
      • start

        public void start()
                   throws Exception
        Specified by:
        start in interface org.apache.coyote.ProtocolHandler
        Throws:
        Exception
      • resume

        public void resume()
                    throws Exception
        Specified by:
        resume in interface org.apache.coyote.ProtocolHandler
        Throws:
        Exception
      • pause

        public void pause()
                   throws Exception
        Specified by:
        pause in interface org.apache.coyote.ProtocolHandler
        Throws:
        Exception
      • setPort

        public void setPort​(int port)
      • getPort

        public int getPort()
      • setReadThreadsCount

        public void setReadThreadsCount​(int readThreadsCount)
      • getReadThreadsCount

        public int getReadThreadsCount()
      • setMaxWorkerThreadsCount

        public void setMaxWorkerThreadsCount​(int maxWorkerThreadsCount)
      • getMaxWorkerThreadsCount

        public int getMaxWorkerThreadsCount()
      • setMinWorkerThreadsCount

        public void setMinWorkerThreadsCount​(int minWorkerThreadsCount)
      • getMinWorkerThreadsCount

        public int getMinWorkerThreadsCount()
      • setRedirectHttpPort

        public void setRedirectHttpPort​(int redirectHttpPort)
      • getRedirectHttpPort

        public int getRedirectHttpPort()