using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Nexi { public class EndPoint { private readonly NodeBase _for; public EndPoint(NodeBase epFor) { _for = epFor; } public string NodeId { get { return _for.Id; } } public void Receive(EndPoint sender, Message msg) { _for.Receive(msg); } } }