Inheritance: System.EventArgs, IZyreEventHeader
示例#1
0
文件: Zyre.cs 项目: NetMQ/Zyre
 private void OnStopEvent(ZyreEventStop stopEvent)
 {
     var temp = StopEvent; // for thread safety
     temp?.Invoke(this, stopEvent);
 }
示例#2
0
文件: MainForm.cs 项目: NetMQ/Zyre
 private void ZyreStopEvent(object sender, ZyreEventStop e)
 {
     _connectedPeers.RemoveAll(x => x.SenderUuid == e.SenderUuid);
     _headersByPeerGuid.Remove(e.SenderUuid);
     EventsLogger($"Stopped: {e.SenderName} {e.SenderUuid.ToShortString6()}");
     UpdateAndShowGroups();
 }