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);
|
2025-03-13 20:01:17 +03:00
|
|
|
|
2025-02-20 16:10:09 +03:00
|
|
|
public delegate void DisconnectionHandler(IRepresentationModule representationModule);
|
|
|
|
|
|
|
|
|
|
public interface IConnectionHub : IInjectableModule
|
|
|
|
|
{
|
2025-04-30 12:25:23 +03:00
|
|
|
void RegisterInteraction(IChannelInteractionModule interaction);
|
|
|
|
|
IChannelInteractionModule GetInteraction(int id);
|
2025-02-20 16:10:09 +03:00
|
|
|
event ConnectionHandler? OnConnected;
|
|
|
|
|
event DisconnectionHandler? OnDisconnected;
|
|
|
|
|
}
|
2025-02-17 12:46:40 +03:00
|
|
|
}
|