Adding the ChatMessage Class
Chatting between two terminals is fun (and makes you look cool at the coffee shop), but it is time to upgrade to sending messages from browser to browser. You will write a helper class that handles constructing and formatting message data.
There are three pieces of information you will want to track for each message. You need to know the text of the message, who sent it, and at what time.