Class ServerMsg


  • public class ServerMsg
    extends Object
    Author:
    neysseri
    • Constructor Summary

      Constructors 
      Constructor Description
      ServerMsg​(String what)
      -------------------------------------------------------------------------- constructor
      ServerMsg​(String what, String content)
      -------------------------------------------------------------------------- constructor
    • Constructor Detail

      • ServerMsg

        public ServerMsg​(String what,
                         String content)
        -------------------------------------------------------------------------- constructor
      • ServerMsg

        public ServerMsg​(String what)
        -------------------------------------------------------------------------- constructor
    • Method Detail

      • getWhat

        public String getWhat()
        -------------------------------------------------------------------------- getWhat return what
      • getContent

        public String getContent()
        -------------------------------------------------------------------------- getContent return content
      • setContent

        public void setContent​(String content)
        -------------------------------------------------------------------------- setContent set the content
      • setID

        public void setID​(String id)
        -------------------------------------------------------------------------- setContent set the ID
      • getID

        public String getID()
        -------------------------------------------------------------------------- setContent get the ID