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:
Runnable
,EventListener
,javax.servlet.AsyncListener
,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
ConstructorsConstructorDescriptionDispatchingLongPollScheduler
(AbstractHttpTransport.Context context, Promise<Void> promise, ServerMessage.Mutable message, long timeout) -
Method Summary
Methods inherited from class org.cometd.server.http.AbstractHttpTransport.LongPollScheduler
cancel, destroy, getContext, getMessage, getMetaConnectCycle, getPromise, onComplete, onError, onStartAsync, onTimeout, run, schedule, toString
-
Constructor Details
-
DispatchingLongPollScheduler
public DispatchingLongPollScheduler(AbstractHttpTransport.Context context, Promise<Void> promise, ServerMessage.Mutable message, long timeout)
-
-
Method Details
-
dispatch
protected void dispatch(boolean timeout) - Specified by:
dispatch
in classAbstractHttpTransport.LongPollScheduler
-