Squirrowse/Squirrowse.Service/Hubs/IStreamManager.cs

17 lines
557 B
C#
Raw Normal View History

2019-11-06 17:02:06 +01:00
using System.Collections.Generic;
using System.Threading.Tasks;
using Squirrowse.Core.Models;
2019-11-05 17:00:36 +01:00
namespace Squirrowse.Service.Hubs
{
public interface IStreamManager
{
2019-11-06 17:02:06 +01:00
Task AddUser(string connectionId, string agentName,ConnectionType type);
2019-11-06 13:47:00 +01:00
Task RemoveUserbyConnectionId(string connectionId);
Task RemoveUserByUserName(string agentName);
2019-11-06 17:02:06 +01:00
IEnumerable<User> getServerSideUsers();
2019-11-06 13:47:00 +01:00
bool CheckUser(string agentName);
2019-11-06 19:17:06 +01:00
IEnumerable<User> getClientSideUsers();
IEnumerable<User> getAllUsers();
2019-11-05 17:00:36 +01:00
}
2019-11-06 13:47:00 +01:00
}