blob: 9f1fec1290cb234e9e452dc875f68ca05333269b [file] [log] [blame]
Mark Slee7eb0d632007-03-01 00:00:27 +00001// 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 Slee78f58e22006-09-02 04:17:07 +00007package com.facebook.thrift.protocol;
8
9/**
10 * Helper class that encapsulates struct metadata.
11 *
12 * @author Mark Slee <mcslee@facebook.com>
13 */
14public 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}