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.
24 lines
592 B
24 lines
592 B
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
|
|
namespace Microsoft.AspNet.SignalR.Messaging
|
|
{
|
|
public interface ISubscriber
|
|
{
|
|
IList<string> EventKeys { get; }
|
|
|
|
Action<TextWriter> WriteCursor { get; set; }
|
|
|
|
string Identity { get; }
|
|
|
|
event Action<ISubscriber, string> EventKeyAdded;
|
|
|
|
event Action<ISubscriber, string> EventKeyRemoved;
|
|
|
|
Subscription Subscription { get; set; }
|
|
}
|
|
}
|