Package org.cometd.server.http
Class AbstractStreamHttpTransport.DispatchingLongPollScheduler
- java.lang.Object
-
- org.cometd.server.http.AbstractHttpTransport.LongPollScheduler
-
- org.cometd.server.http.AbstractStreamHttpTransport.DispatchingLongPollScheduler
-
- All Implemented Interfaces:
jakarta.servlet.AsyncListener
,java.lang.Runnable
,java.util.EventListener
,AbstractServerTransport.Scheduler
,AbstractHttpTransport.HttpScheduler
- Enclosing class:
- AbstractStreamHttpTransport
protected class AbstractStreamHttpTransport.DispatchingLongPollScheduler extends AbstractHttpTransport.LongPollScheduler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.cometd.server.AbstractServerTransport.Scheduler
AbstractServerTransport.Scheduler.None
-
-
Constructor Summary
Constructors Constructor Description DispatchingLongPollScheduler(AbstractHttpTransport.Context context, Promise<java.lang.Void> promise, ServerMessage.Mutable message, long timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
dispatch(boolean timeout)
-
Methods inherited from class org.cometd.server.http.AbstractHttpTransport.LongPollScheduler
cancel, destroy, getContext, getMessage, getMetaConnectCycle, getPromise, onComplete, onError, onStartAsync, onTimeout, run, schedule, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cometd.server.AbstractServerTransport.Scheduler
cancel
-
-
-
-
Constructor Detail
-
DispatchingLongPollScheduler
public DispatchingLongPollScheduler(AbstractHttpTransport.Context context, Promise<java.lang.Void> promise, ServerMessage.Mutable message, long timeout)
-
-
Method Detail
-
dispatch
protected void dispatch(boolean timeout)
- Specified by:
dispatch
in classAbstractHttpTransport.LongPollScheduler
-
-