|
using System;
namespace DistributedCommand.Framework
{
/// <summary>
/// Interface for transporter callback receiver. All transporters
/// use this interface to inform listeners what data arrives
/// </summary>
public interface ITransporterListener
{
/// <summary>
/// When data arrives, this method is called to notify and
/// specify the data
/// </summary>
/// <param name="data"></param>
/// <param name="source"></param>
void Received( object data, ITransporter source );
/// <summary>
/// When underlying transporter is closed, this method is called
/// </summary>
/// <param name="source"></param>
void Closed( ITransporter source );
}
}
|
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.