Interface ServerSession.RemoveListener

All Superinterfaces:
Bayeux.BayeuxListener, EventListener, ServerSession.RemovedListener, ServerSession.ServerSessionListener
Enclosing interface:
ServerSession

@Deprecated public static interface ServerSession.RemoveListener extends ServerSession.RemovedListener
Deprecated.

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

  • Method Summary

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

    • removed

      default void removed(ServerSession session, ServerMessage message, boolean timeout)
      Deprecated.
      Description copied from interface: ServerSession.RemovedListener

      Callback invoked when the session is removed.

      Specified by:
      removed in interface ServerSession.RemovedListener
      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
    • removed

      void removed(ServerSession session, boolean timeout)
      Deprecated.

      Callback invoked when the session is removed.

      Parameters:
      session - the removed session
      timeout - whether the session has been removed due to a timeout