C# 클래스 Samples.Server.Services.GroupMembershipService

상속: Drey.Server.Services.IGroupMembershipService
파일 보기 프로젝트 열기: dealproc/Drey

공개 메소드들

메소드 설명
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

메소드 상세

GroupMembershipService() 공개 메소드

public GroupMembershipService ( IClientRegistry clientRegistry ) : Drey.Server.Infrastructure
clientRegistry IClientRegistry
리턴 Drey.Server.Infrastructure

Join() 공개 메소드

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
리턴 System.Threading.Tasks.Task

Leave() 공개 메소드

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
리턴 System.Threading.Tasks.Task