public Models.ApplicationMessage GetCurrentMessage(int DSID) { Models.ApplicationMessage currentMessage = null; return(currentMessage); }
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(); }
public void BroadcastMessage(Models.ApplicationMessage message) { Clients.All.SendMessage(message); }