Kevin Clark | 97d2166 | 2008-06-18 00:53:28 +0000 | [diff] [blame] | 1 | module Thrift |
2 | module Types | ||||
3 | STOP = 0 | ||||
4 | VOID = 1 | ||||
5 | BOOL = 2 | ||||
6 | BYTE = 3 | ||||
7 | DOUBLE = 4 | ||||
8 | I16 = 6 | ||||
9 | I32 = 8 | ||||
10 | I64 = 10 | ||||
11 | STRING = 11 | ||||
12 | STRUCT = 12 | ||||
13 | MAP = 13 | ||||
14 | SET = 14 | ||||
15 | LIST = 15 | ||||
16 | end | ||||
Kevin Clark | c42231b | 2008-06-18 00:56:30 +0000 | [diff] [blame] | 17 | deprecate_class! :TType => Types |
Kevin Clark | 9bf3362 | 2008-06-18 00:53:07 +0000 | [diff] [blame] | 18 | |
Kevin Clark | 97d2166 | 2008-06-18 00:53:28 +0000 | [diff] [blame] | 19 | module MessageTypes |
20 | CALL = 1 | ||||
21 | REPLY = 2 | ||||
22 | EXCEPTION = 3 | ||||
23 | end | ||||
Kevin Clark | c42231b | 2008-06-18 00:56:30 +0000 | [diff] [blame] | 24 | deprecate_class! :TMessageType => MessageTypes |
Kevin Clark | 97d2166 | 2008-06-18 00:53:28 +0000 | [diff] [blame] | 25 | end |