Ejemplo n.º 1
0
 private static void Appllication_GetMessage(Appllication.MessageType type, string message)
 {
     if (type == Appllication.MessageType.ServerClose)
     {
         stop = true;
         appllication.GetMessage -= Appllication_GetMessage;
         appllication             = null;
     }
     Console.WriteLine(type.ToString() + ": " + message);
 }
Ejemplo n.º 2
0
 public Peer(object peer, INetServer _server, Appllication appllication) : base(peer, _server)
 {
     this.appllication = appllication;
 }