Example #1
0
        public Models.ApplicationMessage GetCurrentMessage(int DSID)
        {
            Models.ApplicationMessage currentMessage = null;


            return(currentMessage);
        }
Example #2
0
 public Models.ApplicationMessage GetMessages()
 {
     foreach (var group in this.DSIDGroups)
     {
         Models.ApplicationMessage currentMessage = GetCurrentMessage(Convert.ToInt32(group.DSID));
         if (currentMessage != null)
         {
             Clients.Group(group.DSID).SendMessage(currentMessage);
         }
     }
     return(null);
     //return _applicationMessage.GetCurrentMessage();
 }
Example #3
0
 public void BroadcastMessage(Models.ApplicationMessage message)
 {
     Clients.All.SendMessage(message);
 }