Class ChatServiceF2

  • All Implemented Interfaces:
    IChatService

    public class ChatServiceF2
    extends java.lang.Object
    implements IChatService
    Chat service implementation.
    • Constructor Summary

      Constructors 
      Constructor Description
      ChatServiceF2()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void message​(java.lang.String sender, java.lang.String text)
      Receives a chat message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChatServiceF2

        public ChatServiceF2()
    • Method Detail

      • 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.