Пример #1
0
 protected virtual void MessageHandler(Utility.IComponent sender, Utility.Messages.NomeAggiornatoMessageEventArgs e)
 {
     foreach (Utility.IComponent c in _components)
     {
         if (c is MySocket)
         {
             c.Input(e);
         }
     }
 }
Пример #2
0
 protected virtual void SocketMessageHandler(MySocket sender, Utility.Messages.NomeAggiornatoMessageEventArgs e)
 {
     foreach (Utility.IComponent c in _components)
     {
         if (c is GestoreSchedeMaster)
         {
             c.Input(new GestoreGiocatoriMessageEventArgs(sender.RemoteAddress, e));
         }
     }
 }