1 // 2 // Copyright (c) 2010-2024 Antmicro 3 // 4 // This file is licensed under the MIT License. 5 // Full license text is available in 'licenses/MIT.txt'. 6 // 7 using Antmicro.Renode.Core; 8 using Antmicro.Renode.Plugins.CoSimulationPlugin.Connection; 9 10 namespace Antmicro.Renode.Peripherals.CoSimulated 11 { 12 public interface ICoSimulationConnectible 13 { OnConnectionAttached(CoSimulationConnection connection)14 void OnConnectionAttached(CoSimulationConnection connection); OnConnectionDetached(CoSimulationConnection connection)15 void OnConnectionDetached(CoSimulationConnection connection); 16 int RenodeToCosimIndex { get; } 17 int CosimToRenodeIndex { get; } 18 } 19 } 20