Package org.cometd.server.transport
Class AbstractStreamHttpTransport.DispatchingLongPollScheduler
- java.lang.Object
-
- org.cometd.server.transport.AbstractHttpTransport.LongPollScheduler
-
- org.cometd.server.transport.AbstractStreamHttpTransport.DispatchingLongPollScheduler
-
- All Implemented Interfaces:
Runnable
,EventListener
,javax.servlet.AsyncListener
,AbstractServerTransport.Scheduler
,AbstractHttpTransport.HttpScheduler
- Enclosing class:
- AbstractStreamHttpTransport
protected class AbstractStreamHttpTransport.DispatchingLongPollScheduler extends AbstractHttpTransport.LongPollScheduler
-
-
Constructor Summary
Constructors Constructor Description DispatchingLongPollScheduler(AbstractHttpTransport.Context context, Promise<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.transport.AbstractHttpTransport.LongPollScheduler
cancel, destroy, getContext, getMessage, getPromise, onComplete, onError, onStartAsync, onTimeout, run, schedule
-
-
-
-
Constructor Detail
-
DispatchingLongPollScheduler
public DispatchingLongPollScheduler(AbstractHttpTransport.Context context, Promise<Void> promise, ServerMessage.Mutable message, long timeout)
-
-
Method Detail
-
dispatch
protected void dispatch(boolean timeout)
- Specified by:
dispatch
in classAbstractHttpTransport.LongPollScheduler
-
-