Interface AbstractServerTransport.Scheduler

All Known Subinterfaces:
AbstractHttpTransport.HttpScheduler
All Known Implementing Classes:
AbstractHttpTransport.LongPollScheduler, AbstractServerTransport.Scheduler.None, AbstractStreamHttpTransport.DispatchingLongPollScheduler
Enclosing class:
AbstractServerTransport

public static interface AbstractServerTransport.Scheduler

Performs server-to-client transport operations when a /meta/connect message is held and a server-side message is published.

HTTP transports can only perform server-to-client sends if there is an outstanding /meta/connect, or if they are processing incoming messages.

WebSocket transports, on the other hand, can perform server-to-client sends even if there is no outstanding /meta/connect.