20 lines
686 B
C#
20 lines
686 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Swarmops.Logic.Communications.Transmission;
|
|
using Swarmops.Logic.Swarm;
|
|
|
|
namespace Swarmops.Logic.Communications
|
|
{
|
|
public interface ICommsTransmitter
|
|
{
|
|
/// <summary>
|
|
/// This function transmits an outbound comm. If it fails, it must throw an OutboundCommTransmitException. It is expected to block until complete.
|
|
/// </summary>
|
|
/// <param name="comm">The piece of communications to send.</param>
|
|
/// <param name="person">The person to send to.</param>
|
|
void Transmit(PayloadEnvelope envelope, Person person);
|
|
}
|
|
}
|