Beispiel #1
0
        public string sendMess(string clientid, string mes)
        {
            codingChatHub code = new codingChatHub();

            code.sendMessageEx(clientid, mes);
            return("Hello World");
        }
Beispiel #2
0
        private static void IncomingChatMessage(PacketHeader header, Connection Connection, MsgEntity chatContract)
        {
            codingChatHub code = new codingChatHub();

            code.sendMessageEx(chatContract.Reciver, chatContract.MsgContent);
        }