Wrote broadCastMessage() function in ChatServerThread