| David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame] | 1 | // | 
 | 2 | //  TMessage.cs | 
 | 3 | // | 
 | 4 | //  Begin:  Aug 19, 2007 | 
| David Reiss | 0c90f6f | 2008-02-06 22:18:40 +0000 | [diff] [blame] | 5 | //  Authors: | 
| David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame] | 6 | //		Todd Berman <tberman@imeem.com> | 
 | 7 | // | 
 | 8 | //  Distributed under the Thrift Software License | 
 | 9 | // | 
 | 10 | //  See accompanying file LICENSE or visit the Thrift site at: | 
 | 11 | //  http://developers.facebook.com/thrift/using | 
 | 12 |  | 
 | 13 | using System; | 
 | 14 | using System.Collections.Generic; | 
 | 15 | using System.Text; | 
 | 16 |  | 
 | 17 | namespace Thrift.Protocol | 
 | 18 | { | 
| David Reiss | 46dc629 | 2008-02-06 22:09:58 +0000 | [diff] [blame] | 19 | 	public struct TMessage | 
| David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame] | 20 | 	{ | 
| David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame] | 21 | 		public TMessage(string name, TMessageType type, int seqid) | 
| David Reiss | c9d06ee | 2008-03-18 18:22:43 +0000 | [diff] [blame] | 22 | 			:this() | 
| David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame] | 23 | 		{ | 
 | 24 | 			Name = name; | 
 | 25 | 			Type = type; | 
 | 26 | 			SeqID = seqid; | 
 | 27 | 		} | 
 | 28 |  | 
 | 29 | 		public string Name | 
 | 30 | 		{ | 
 | 31 | 			get; | 
 | 32 | 			set; | 
 | 33 | 		} | 
 | 34 |  | 
 | 35 | 		public TMessageType Type | 
 | 36 | 		{ | 
 | 37 | 			get; | 
 | 38 | 			set; | 
 | 39 | 		} | 
 | 40 |  | 
 | 41 | 		public int SeqID | 
 | 42 | 		{ | 
 | 43 | 			get; | 
 | 44 | 			set; | 
 | 45 | 		} | 
 | 46 | 	} | 
 | 47 | } |