Mark Slee | 78f58e2 | 2006-09-02 04:17:07 +0000 | [diff] [blame] | 1 | package com.facebook.thrift.protocol; |
2 | |||||
3 | /** | ||||
4 | * Helper class that encapsulates struct metadata. | ||||
5 | * | ||||
6 | * @author Mark Slee <mcslee@facebook.com> | ||||
7 | */ | ||||
8 | public class TMessage { | ||||
9 | public TMessage() {} | ||||
10 | |||||
11 | public TMessage(String n, byte t, int s) { | ||||
12 | name = n; | ||||
13 | type = t; | ||||
14 | seqid = s; | ||||
15 | } | ||||
16 | |||||
17 | public String name = ""; | ||||
18 | public byte type; | ||||
19 | public int seqid; | ||||
20 | } |