|
using System;
namespace DistributedCommand.Framework
{
/// <summary>
/// Callback interface which command executives use to notify container
/// when a command is received.
///
/// This interface is implemented by those who contains ICommandExecutor
/// </summary>
public interface ICommandExecutorListener
{
/// <summary>
/// Receive a command from command executor
/// </summary>
/// <param name="command">The command received</param>
void Receive( ICommand command );
/// <summary>
/// Remvoe the command executor from the command bus
/// </summary>
/// <param name="executor"></param>
void Remove( ICommandExecutor executor );
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.