Class TextMessage

    • Constructor Detail

      • TextMessage

        public TextMessage​(String text)
    • Method Detail

      • toString

        public String toString()
        Description copied from interface: Message
        Get the string representation of this message.
        Specified by:
        toString in interface Message
        Overrides:
        toString in class Object
        Returns:
        the string representation of this message
      • getText

        public String getText()