Files
annotations/Azaion.CommonSecurity/DTO/Commands/FileCommand.cs
T
Alex Bezdieniezhnykh 82b3b526a7 rewrite to zmq push and pull patterns.
file load works, suite can start up
2025-01-23 14:37:13 +02:00

24 lines
388 B
C#

using MessagePack;
namespace Azaion.CommonSecurity.DTO.Commands;
[MessagePackObject]
public class FileCommand
{
[Key("CommandType")]
public CommandType CommandType { get; set; }
[Key("Filename")]
public string Filename { get; set; }
[Key("Data")]
public byte[] Data { get; set; }
}
public enum CommandType
{
None = 0,
Inference = 1,
Load = 2
}