// // Copyright (c) 2010-2024 Antmicro // // This file is licensed under the MIT License. // Full license text is available in 'licenses/MIT.txt'. // using System; using Antmicro.Renode.Peripherals; namespace Antmicro.Renode.Network { public delegate bool BasicNetworkSendDataDelegate(TData data, TAddress source, TAddress destination); public interface IBasicNetworkNode : IPeripheral { void ReceiveData(TData data, TAddress source, TAddress destination); event BasicNetworkSendDataDelegate TrySendData; TAddress NodeAddress { get; } } }