Class End

All Implemented Interfaces:
Timestamped

public class End extends Message
The end message is sent from the server to an agent to indicate that the session has ended and that they should now disconnect. If the server is logging sessions, this message contains the ID of the logged session.
Author:
Stephen G. Ware
  • Field Details

    • session

      public final String session
      The ID of the session, or null if the session was not logged
  • Constructor Details

    • End

      public End(String session)
      Constructs a new end message with the given session ID.
      Parameters:
      session - the ID of the session that ended, or null if the session was not logged
  • Method Details