Package com.example.common.command
package com.example.common.command
-
ClassDescriptionAbstract class that serves as the base for command implementations.The Command interface represents a command that can be executed based on a BodyMessage.The CommandFactory class provides static methods for creating different types of commands.The CommandsCollection class implements the CommandsInterface using a HashMap to store commands.The CommandsInterface provides methods to manage a collection of commands.Class for user command COUNT_USERSClass for user command - EXITThe HelpCommand class represents a command that displays all available chat commands to a client.This class represents a command to log in a client to the chat.The MessageCommand class represents a command that handles user messages in the chat application.