Squirrowse/Squirrowse.Service/Hubs/IStreamManager.cs

12 lines
335 B
C#
Raw Normal View History

2019-11-06 13:47:00 +01:00
using System.Threading.Tasks;
2019-11-05 17:00:36 +01:00
namespace Squirrowse.Service.Hubs
{
public interface IStreamManager
{
2019-11-06 13:47:00 +01:00
Task AddUser(string connectionId, string agentName);
Task RemoveUserbyConnectionId(string connectionId);
Task RemoveUserByUserName(string agentName);
bool CheckUser(string agentName);
2019-11-05 17:00:36 +01:00
}
2019-11-06 13:47:00 +01:00
}