1
using System.Collections.Generic;
2
using Libplanet.Net.Messages;
3
using NetMQ;
4

5
namespace Libplanet.Tests.Net.Protocols
6
{
7
    internal class TestMessage : Message
8
    {
9 1
        public TestMessage(string data)
10 1
        {
11 1
            Data = data;
12 1
        }
13

14 0
        public TestMessage(NetMQFrame[] body)
15 0
        {
16 0
        }
17

18 1
        public string Data { get; }
19

20 0
        protected override MessageType Type => MessageType.Ping;
21

22
        protected override IEnumerable<NetMQFrame> DataFrames
23
        {
24
            get
25 0
            {
26 0
                yield break;
27
            }
28
        }
29
    }
30
}

Read our documentation on viewing source code .

Loading