summaryrefslogtreecommitdiff
path: root/lib/csharp/src/Protocol/TMessage.cs
blob: a9522ff0eb728f675d1ec7c9ac2c007b1bb8a17a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//
//  TMessage.cs
//
//  Begin:  Aug 19, 2007
//  Authors: 
//		Todd Berman <tberman@imeem.com>
//
//  Distributed under the Thrift Software License
//
//  See accompanying file LICENSE or visit the Thrift site at:
//  http://developers.facebook.com/thrift/using

using System;
using System.Collections.Generic;
using System.Text;

namespace Thrift.Protocol
{
	public struct TMessage
	{
		public TMessage(string name, TMessageType type, int seqid)
		{
			Name = name;
			Type = type;
			SeqID = seqid;
		}

		public string Name
		{
			get;
			set;
		}

		public TMessageType Type
		{
			get;
			set;
		}

		public int SeqID
		{
			get;
			set;
		}
	}
}