Exemplo n.º 1
0
        public void GetHistoryMessageToConnect(Client client)
        {
            Message historyMessage = new Message(Message.GET_HISTORY, "");

            client.SendMessage(historyMessage);
        }
Exemplo n.º 2
0
        public void SendHistoryMessage(Client client)
        {
            Message historyMessage = new Message(Message.SHOW_HISTORY, chatHistory.ToString());

            client.SendMessage(historyMessage);
        }