Interface AbstractServerTransport.Scheduler

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

public static interface AbstractServerTransport.Scheduler
Performs transport operations when a /meta/connect message is held.
  • Method Summary

    Modifier and Type Method Description
    void cancel()
    Invoked when the transport wants to cancel scheduled operations that will trigger when the /meta/connect timeout fires.
    void destroy()
    Invoked when the transport wants to abort communication.
    void schedule()
    Invoked when the transport wants to send queued messages, and possibly a /meta/connect reply.
  • Method Details

    • 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.