2023-08-26 17:06:12 +01:00
|
|
|
using VPLink.Common.Data;
|
2023-08-26 14:11:43 +01:00
|
|
|
|
2023-08-26 17:06:12 +01:00
|
|
|
namespace VPLink.Common.Services;
|
2023-08-26 14:11:43 +01:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Represents an object that can be used as a relay target.
|
|
|
|
/// </summary>
|
|
|
|
public interface IRelayTarget
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Sends a message to the relay target.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="message">The message to send.</param>
|
|
|
|
/// <returns>A <see cref="Task" /> representing the asynchronous operation.</returns>
|
|
|
|
Task SendMessageAsync(RelayedMessage message);
|
|
|
|
}
|