Interface ServerSession.RemovedListener

All Superinterfaces:
Bayeux.BayeuxListener, EventListener, ServerSession.ServerSessionListener
All Known Implementing Classes:
Seti.LocalLocation
Enclosing interface:
ServerSession

public static interface ServerSession.RemovedListener extends ServerSession.ServerSessionListener

Listeners objects that implement this interface will be notified of session removal.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    removed​(ServerSession session, ServerMessage message, boolean timeout)
    Callback invoked when the session is removed.
  • Method Details

    • removed

      void removed(ServerSession session, ServerMessage message, boolean timeout)

      Callback invoked when the session is removed.

      Parameters:
      session - the removed session
      message - the message that caused the session removal, or null
      timeout - whether the session has been removed due to a timeout