예제 #1
0
 public void GetAllMessage()
 {
     Clients.All.getAllMessage(DataStore.GetText());
 }
예제 #2
0
 public void AddGroup(string name)
 {
     DataStore.AddGroup(name);
     Clients.All.addGroup(name);
 }
예제 #3
0
 public void GetAllGroups()
 {
     Clients.All.getAllGroups(DataStore.GetGroups());
 }
예제 #4
0
 public void SendMessage(string name, string message)
 {
     DataStore.AddText(name, message);
     Clients.All.broadcastMessage(name, message);
 }