public NeighborEvent(cHaggleEvent e) : base(e) { if (e.type != HaggleEvent.NEIGHBOR_UPDATE) { throw new Exception("Not a neighbor update event"); } neighbors = new Node.NodeList(e.data); }