Package org.cometd.server
Interface AbstractServerTransport.Scheduler
-
- All Known Subinterfaces:
AbstractHttpTransport.HttpScheduler
- All Known Implementing Classes:
AbstractHttpTransport.LongPollScheduler,AbstractStreamHttpTransport.DispatchingLongPollScheduler
- Enclosing class:
- AbstractServerTransport
public static interface AbstractServerTransport.SchedulerPerforms transport operations when a /meta/connect message is held.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancel()Invoked when the transport wants to cancel scheduled operations that will trigger when the /meta/connect timeout fires.voiddestroy()Invoked when the transport wants to abort communication.voidschedule()Invoked when the transport wants to send queued messages, and possibly a /meta/connect reply.
-
-
-
Method Detail
-
schedule
void schedule()
Invoked when the transport wants to send queued messages, and possibly a /meta/connect reply.
-
cancel
void cancel()
Invoked when the transport wants to cancel scheduled operations that will trigger when the /meta/connect timeout fires.
-
destroy
void destroy()
Invoked when the transport wants to abort communication.
-
-