C# Class Samples.Server.Services.GroupMembershipService

Inheritance: Drey.Server.Services.IGroupMembershipService
Exibir arquivo Open project: dealproc/Drey

Public Methods

Method Description
GroupMembershipService ( IClientRegistry clientRegistry ) : Drey.Server.Infrastructure
Join ( IHubContext hubContext, ClaimsPrincipal principal, string connectionId, System.Threading.Tasks.Task onConnected ) : System.Threading.Tasks.Task
Leave ( IHubContext hubContext, ClaimsPrincipal principal, string connectionId, System.Threading.Tasks.Task onDisconnected ) : System.Threading.Tasks.Task

Method Details

GroupMembershipService() public method

public GroupMembershipService ( IClientRegistry clientRegistry ) : Drey.Server.Infrastructure
clientRegistry IClientRegistry
return Drey.Server.Infrastructure

Join() public method

public Join ( IHubContext hubContext, ClaimsPrincipal principal, string connectionId, System.Threading.Tasks.Task onConnected ) : System.Threading.Tasks.Task
hubContext IHubContext
principal System.Security.Claims.ClaimsPrincipal
connectionId string
onConnected System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Leave() public method

public Leave ( IHubContext hubContext, ClaimsPrincipal principal, string connectionId, System.Threading.Tasks.Task onDisconnected ) : System.Threading.Tasks.Task
hubContext IHubContext
principal System.Security.Claims.ClaimsPrincipal
connectionId string
onDisconnected System.Threading.Tasks.Task
return System.Threading.Tasks.Task