Working on a rough demo client/server app.
This commit is contained in:
21
TestProtocol/Message.cs
Normal file
21
TestProtocol/Message.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace TestClient
|
||||
{
|
||||
public class Message
|
||||
{
|
||||
public Message(ProtocolOp op, byte[] data)
|
||||
{
|
||||
this.Operation = op;
|
||||
this.Data = data;
|
||||
}
|
||||
|
||||
public ProtocolOp Operation { get; private set; }
|
||||
|
||||
public byte[] Data { get; private set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user