Exemplo n.º 1
0
 private void OnMessageCreated(Guid sender, string message)
 {
     Console.WriteLine("{0} says {1}", sender, message);
     lock (_syncRoot)
     {
         _clientPool.Broadcast(sender, message);
         _store.AddMessage(sender, message);
     }
 }