You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
878 B
22 lines
878 B
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Microsoft.AspNet.SignalR
|
|
{
|
|
/// <summary>
|
|
/// Manages groups for a connection and allows sending messages to the group.
|
|
/// </summary>
|
|
public interface IConnectionGroupManager : IGroupManager
|
|
{
|
|
/// <summary>
|
|
/// Sends a value to the specified group.
|
|
/// </summary>
|
|
/// <param name="groupName">The name of the group.</param>
|
|
/// <param name="value">The value to send.</param>
|
|
/// <param name="excludeConnectionIds">The list of connection ids to exclude</param>
|
|
/// <returns>A task that represents when send is complete.</returns>
|
|
Task Send(string groupName, object value, params string[] excludeConnectionIds);
|
|
}
|
|
}
|