Class DiscardSession

All Implemented Interfaces:
Future<Void>, Associator, Eligible

public class DiscardSession extends Event<Void>
Causes a session manager to discard the given session.
  • Constructor Details

    • DiscardSession

      public DiscardSession(Session session, Channel... channels)
      Creates a new event.
      Parameters:
      session - the session
      channels -
  • Method Details

    • session

      public Session session()
      Returns the session to be discarded.
      Returns:
      the session