Class ChatServiceD5

  • All Implemented Interfaces:
    IChatService

    public class ChatServiceD5
    extends java.lang.Object
    implements IChatService
    The chat service.
    • Field Detail

      • format

        protected java.text.DateFormat format
        The time format.
      • gui

        protected ChatGuiD5 gui
        The user interface.
    • Constructor Detail

      • ChatServiceD5

        public ChatServiceD5()
    • Method Detail

      • startService

        public IFuture<java.lang.Void> startService()
        Init the service.
      • shutdownService

        public void shutdownService()
        Init the service.
      • message

        public void message​(java.lang.String sender,
                            java.lang.String text)
        Receives a chat message.
        Specified by:
        message in interface IChatService
        Parameters:
        sender - The sender's name.
        text - The message text.