imported signalr 1.1.3 into NzbDrone.

This commit is contained in:
kayone
2013-11-21 21:26:57 -08:00
parent 891443e05d
commit 0e623e7ce4
236 changed files with 20490 additions and 35 deletions
@@ -0,0 +1,25 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
using System;
using System.Threading.Tasks;
namespace Microsoft.AspNet.SignalR.Infrastructure
{
/// <summary>
/// Handles commands from server to server.
/// </summary>
internal interface IServerCommandHandler
{
/// <summary>
/// Sends a command to all connected servers.
/// </summary>
/// <param name="command"></param>
/// <returns></returns>
Task SendCommand(ServerCommand command);
/// <summary>
/// Gets or sets a callback that is invoked when a command is received.
/// </summary>
Action<ServerCommand> Command { get; set; }
}
}