2025-02-20 16:10:09 +03:00
|
|
|
namespace mROA.Abstract
|
2025-02-17 12:46:40 +03:00
|
|
|
{
|
2025-02-20 16:10:09 +03:00
|
|
|
public delegate void ConnectionHandler(IRepresentationModule representationModule);
|
|
|
|
|
public delegate void DisconnectionHandler(IRepresentationModule representationModule);
|
|
|
|
|
|
|
|
|
|
public interface IConnectionHub : IInjectableModule
|
|
|
|
|
{
|
|
|
|
|
void RegisterInteraction(INextGenerationInteractionModule interaction);
|
|
|
|
|
INextGenerationInteractionModule GetInteracion(int id);
|
|
|
|
|
event ConnectionHandler? OnConnected;
|
|
|
|
|
event DisconnectionHandler? OnDisconnected;
|
|
|
|
|
}
|
2025-02-17 12:46:40 +03:00
|
|
|
}
|