Files
Readarr/src/Microsoft.AspNet.SignalR.Core/Messaging/ISubscriber.cs
2013-11-21 21:26:57 -08:00

24 lines
592 B
C#

// 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; }
}
}