module Thrift::ProtocolDecorator

Public Class Methods

new(protocol) click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
22 def initialize(protocol)
23   @protocol = protocol
24 end

Public Instance Methods

read_binary() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
190 def read_binary
191   @protocol.read_binary
192 end
read_bool() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
162 def read_bool
163   @protocol.read_bool
164 end
read_byte() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
166 def read_byte
167   @protocol.read_byte
168 end
read_double() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
182 def read_double
183   @protocol.read_double
184 end
read_field_begin() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
130 def read_field_begin
131   @protocol.read_field_begin
132 end
read_field_end() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
134 def read_field_end
135   @protocol.read_field_end
136 end
read_i16() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
170 def read_i16
171   @protocol.read_i16
172 end
read_i32() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
174 def read_i32
175   @protocol.read_i32
176 end
read_i64() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
178 def read_i64
179   @protocol.read_i64
180 end
read_list_begin() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
146 def read_list_begin
147   @protocol.read_list_begin
148 end
read_list_end() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
150 def read_list_end
151   @protocol.read_list_end
152 end
read_map_begin() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
138 def read_map_begin
139   @protocol.read_map_begin
140 end
read_map_end() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
142 def read_map_end
143   @protocol.read_map_end
144 end
read_message_begin() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
114 def read_message_begin
115   @protocol.read_message_begin
116 end
read_message_end() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
118 def read_message_end
119   @protocol.read_message_end
120 end
read_set_begin() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
154 def read_set_begin
155   @protocol.read_set_begin
156 end
read_set_end() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
158 def read_set_end
159   @protocol.read_set_end
160 end
read_string() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
186 def read_string
187   @protocol.read_string
188 end
read_struct_begin() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
122 def read_struct_begin
123   @protocol.read_struct_begin
124 end
read_struct_end() click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
126 def read_struct_end
127   @protocol.read_struct_end
128 end
trans() click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
26 def trans
27   @protocol.trans
28 end
write_binary(buf) click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
110 def write_binary(buf)
111   @protocol.write_binary(buf)
112 end
write_bool(bool) click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
82 def write_bool(bool)
83   @protocol.write_bool(bool)
84 end
write_byte(byte) click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
86 def write_byte(byte)
87   @protocol.write_byte(byte)
88 end
write_double(dub) click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
102 def write_double(dub)
103   @protocol.write_double(dub)
104 end
write_field_begin(name, type, id) click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
46 def write_field_begin(name, type, id)
47   @protocol.write_field_begin(name, type, id)
48 end
write_field_end() click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
50 def write_field_end
51   @protocol.write_field_end
52 end
write_field_stop() click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
54 def write_field_stop
55   @protocol.write_field_stop
56 end
write_i16(i16) click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
90 def write_i16(i16)
91   @protocol.write_i16(i16)
92 end
write_i32(i32) click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
94 def write_i32(i32)
95   @protocol.write_i32(i32)
96 end
write_i64(i64) click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
 98 def write_i64(i64)
 99   @protocol.write_i64(i64)
100 end
write_list_begin(etype, size) click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
66 def write_list_begin(etype, size)
67   @protocol.write_list_begin(etype, size)
68 end
write_list_end() click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
70 def write_list_end
71   @protocol.write_list_end
72 end
write_map_begin(ktype, vtype, size) click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
58 def write_map_begin(ktype, vtype, size)
59   @protocol.write_map_begin(ktype, vtype, size)
60 end
write_map_end() click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
62 def write_map_end
63   @protocol.write_map_end
64 end
write_message_begin(name, type, seqid) click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
30 def write_message_begin(name, type, seqid)
31   @protocol.write_message_begin
32 end
write_message_end() click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
34 def write_message_end
35   @protocol.write_message_end
36 end
write_set_begin(etype, size) click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
74 def write_set_begin(etype, size)
75   @protocol.write_set_begin(etype, size)
76 end
write_set_end() click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
78 def write_set_end
79   @protocol.write_set_end
80 end
write_string(str) click to toggle source
    # File lib/thrift/protocol/protocol_decorator.rb
106 def write_string(str)
107   @protocol.write_string(str)
108 end
write_struct_begin(name) click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
38 def write_struct_begin(name)
39   @protocol.write_struct_begin(name)
40 end
write_struct_end() click to toggle source
   # File lib/thrift/protocol/protocol_decorator.rb
42 def write_struct_end
43   @protocol.write_struct_end
44 end