Class AbstractHttpTransport.LongPollScheduler

    • Method Detail

      • getPromise

        public Promise<java.lang.Void> getPromise()
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • onStartAsync

        public void onStartAsync​(javax.servlet.AsyncEvent event)
        Specified by:
        onStartAsync in interface javax.servlet.AsyncListener
      • onTimeout

        public void onTimeout​(javax.servlet.AsyncEvent event)
        Specified by:
        onTimeout in interface javax.servlet.AsyncListener
      • onComplete

        public void onComplete​(javax.servlet.AsyncEvent asyncEvent)
                        throws java.io.IOException
        Specified by:
        onComplete in interface javax.servlet.AsyncListener
        Throws:
        java.io.IOException
      • onError

        public void onError​(javax.servlet.AsyncEvent event)
        Specified by:
        onError in interface javax.servlet.AsyncListener
      • dispatch

        protected abstract void dispatch​(boolean timeout)