Mark Slee | 7eb0d63 | 2007-03-01 00:00:27 +0000 | [diff] [blame] | 1 | // Copyright (c) 2006- Facebook |
| 2 | // Distributed under the Thrift Software License |
| 3 | // |
| 4 | // See accompanying file LICENSE or visit the Thrift site at: |
| 5 | // http://developers.facebook.com/thrift/ |
| 6 | |
Mark Slee | 78f58e2 | 2006-09-02 04:17:07 +0000 | [diff] [blame] | 7 | package com.facebook.thrift.protocol; |
| 8 | |
| 9 | /** |
| 10 | * Helper class that encapsulates struct metadata. |
| 11 | * |
| 12 | * @author Mark Slee <mcslee@facebook.com> |
| 13 | */ |
| 14 | public class TMessage { |
| 15 | public TMessage() {} |
| 16 | |
| 17 | public TMessage(String n, byte t, int s) { |
| 18 | name = n; |
| 19 | type = t; |
| 20 | seqid = s; |
| 21 | } |
| 22 | |
| 23 | public String name = ""; |
| 24 | public byte type; |
| 25 | public int seqid; |
| 26 | } |