// 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
{
///
/// Handles commands from server to server.
///
internal interface IServerCommandHandler
{
///
/// Sends a command to all connected servers.
///
///
///
Task SendCommand(ServerCommand command);
///
/// Gets or sets a callback that is invoked when a command is received.
///
Action Command { get; set; }
}
}