Метод | Описание | |
---|---|---|
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 |
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 |
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 |
public GroupManager ( IConnection connection, string groupPrefix ) : System | ||
connection | IConnection | The |
groupPrefix | string | The prefix for this group. Either a |
Результат | System |
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 |
public Send ( IList |
||
groupNames | IList |
The names of the groups. |
value | object | The value to send. |
Результат | System.Threading.Tasks.Task |
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 |