~ruther/Nostale-Anonymizer

ref: ea7f402eeeab1806c24312e297da64c8276aeb77 Nostale-Anonymizer/src/Anonymizer/Sinks/IPacketDestination.cs -rw-r--r-- 672 bytes
ea7f402e — František Boháček chore: update packets version 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
//  IPacketDestination.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace Anonymizer.Sinks;

/// <summary>
/// An interface for sending packets to an arbitrary destination.
/// </summary>
public interface IPacketDestination
{
    /// <summary>
    /// Write the given packet string into the destination.
    /// </summary>
    /// <param name="packetString">The packet string to write.</param>
    /// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
    public Task WritePacketAsync(string packetString);
}
Do not follow this link