Class ChatMessage

java.lang.Object
edu.pdx.cs410J.net.ChatMessage
All Implemented Interfaces:
Serializable

public class ChatMessage extends Object implements Serializable
This class represents a message that is passed between two ChatSessions.
See Also:
  • Constructor Details

  • Method Details

    • isLastMessage

      public boolean isLastMessage()
      Returns true if this is the last message sent
    • toString

      public String toString()
      Returns a textual representation of this ChatMessage that is suitable for displaying in a ChatSession.
      Overrides:
      toString in class Object