Beispiel #1
0
        public void SM_DeletedAppointment(MsgData data)
        {
            string senderName      = Context.QueryString["name"];
            var    userConnections = _connections.GetConnections(senderName);

            if (userConnections.Any())
            {
                Clients.AllExcept(userConnections.Last()).CM_OnDeleteAppointment(data.Data);
            }
        }
Beispiel #2
0
        public void SM_Ping(MsgData data)
        {
            string senderName      = Context.QueryString["name"];
            var    userConnections = _connections.GetConnections(senderName);

            if (userConnections.Any())
            {
                //Clients.AllExcept(userConnections.Last()).CM_OnNewAppointmentAdded(data.Data);
            }
        }
Beispiel #3
0
        public void SM_PostNewMessage(MsgData data)
        {
            string senderName      = Context.QueryString["name"];
            var    userConnections = _connections.GetConnections(senderName);

            if (userConnections.Any())
            {
                Clients.AllExcept(userConnections.ToArray()).CM_OnNewMessage(data.Data);
            }
        }