mirror-ac/service/messages/Send.cs

28 lines
600 B
C#
Raw Normal View History

2023-08-23 17:16:13 +02:00
using System;
using System.Collections.Generic;
2023-08-24 15:12:49 +02:00
using System.IO.Pipes;
2023-08-23 17:16:13 +02:00
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace service.messages
{
2023-08-24 15:12:49 +02:00
public class Send : Message
2023-08-23 17:16:13 +02:00
{
2023-08-24 15:12:49 +02:00
private byte[] _buffer;
private static int SEND_BUFFER_SIZE = 8192;
private enum SEND_TYPE
{
SEND_SIGNATURES_TO_SCAN = 10
}
public Send(NamedPipeServerStream pipeServer, int pipePacketHeaderSize)
: base(pipeServer, pipePacketHeaderSize)
{
_buffer = new byte[SEND_BUFFER_SIZE];
}
2023-08-23 17:16:13 +02:00
}
}