C# 클래스 Microsoft.AspNetCore.SignalR.GroupManager

The default IGroupManager implementation.
상속: IConnectionGroupManager
파일 보기 프로젝트 열기: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript 1 사용 예제들

공개 메소드들

메소드 설명
Add ( string connectionId, string groupName ) : System.Threading.Tasks.Task

Adds a connection to the specified group.

GroupManager ( IConnection connection, string groupPrefix ) : System

Initializes a new instance of the GroupManager class.

Remove ( string connectionId, string groupName ) : System.Threading.Tasks.Task

Removes a connection from the specified group.

Send ( IList groupNames, object value ) : System.Threading.Tasks.Task

Sends a value to the specified group.

Send ( string groupName, object value ) : System.Threading.Tasks.Task

Sends a value to the specified group.

비공개 메소드들

메소드 설명
CreateQualifiedName ( string groupName ) : string

메소드 상세

Add() 공개 메소드

Adds a connection to the specified group.
public Add ( string connectionId, string groupName ) : System.Threading.Tasks.Task
connectionId string The connection id to add to the group.
groupName string The name of the group
리턴 System.Threading.Tasks.Task

GroupManager() 공개 메소드

Initializes a new instance of the GroupManager class.
public GroupManager ( IConnection connection, string groupPrefix ) : System
connection IConnection The this group resides on.
groupPrefix string The prefix for this group. Either a name or type name.
리턴 System

Remove() 공개 메소드

Removes a connection from the specified group.
public Remove ( string connectionId, string groupName ) : System.Threading.Tasks.Task
connectionId string The connection id to remove from the group.
groupName string The name of the group
리턴 System.Threading.Tasks.Task

Send() 공개 메소드

Sends a value to the specified group.
public Send ( IList groupNames, object value ) : System.Threading.Tasks.Task
groupNames IList The names of the groups.
value object The value to send.
리턴 System.Threading.Tasks.Task

Send() 공개 메소드

Sends a value to the specified group.
public Send ( string groupName, object value ) : System.Threading.Tasks.Task
groupName string The name of the group.
value object The value to send.
리턴 System.Threading.Tasks.Task