module Thrift::ProtocolDecorator

Public Class Methods

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

Public Instance Methods

read_binary() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 190
def read_binary
  @protocol.read_binary
end
read_bool() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 162
def read_bool
  @protocol.read_bool
end
read_byte() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 166
def read_byte
  @protocol.read_byte
end
read_double() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 182
def read_double
  @protocol.read_double
end
read_field_begin() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 130
def read_field_begin
  @protocol.read_field_begin
end
read_field_end() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 134
def read_field_end
  @protocol.read_field_end
end
read_i16() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 170
def read_i16
  @protocol.read_i16
end
read_i32() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 174
def read_i32
  @protocol.read_i32
end
read_i64() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 178
def read_i64
  @protocol.read_i64
end
read_list_begin() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 146
def read_list_begin
  @protocol.read_list_begin
end
read_list_end() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 150
def read_list_end
  @protocol.read_list_end
end
read_map_begin() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 138
def read_map_begin
  @protocol.read_map_begin
end
read_map_end() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 142
def read_map_end
  @protocol.read_map_end
end
read_message_begin() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 114
def read_message_begin
  @protocol.read_message_begin
end
read_message_end() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 118
def read_message_end
  @protocol.read_message_end
end
read_set_begin() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 154
def read_set_begin
  @protocol.read_set_begin
end
read_set_end() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 158
def read_set_end
  @protocol.read_set_end
end
read_string() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 186
def read_string
  @protocol.read_string
end
read_struct_begin() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 122
def read_struct_begin
  @protocol.read_struct_begin
end
read_struct_end() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 126
def read_struct_end
  @protocol.read_struct_end
end
trans() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 26
def trans
  @protocol.trans
end
write_binary(buf) click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 110
def write_binary(buf)
  @protocol.write_binary(buf)
end
write_bool(bool) click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 82
def write_bool(bool)
  @protocol.write_bool(bool)
end
write_byte(byte) click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 86
def write_byte(byte)
  @protocol.write_byte(byte)
end
write_double(dub) click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 102
def write_double(dub)
  @protocol.write_double(dub)
end
write_field_begin(name, type, id) click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 46
def write_field_begin(name, type, id)
  @protocol.write_field_begin(name, type, id)
end
write_field_end() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 50
def write_field_end
  @protocol.write_field_end
end
write_field_stop() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 54
def write_field_stop
  @protocol.write_field_stop
end
write_i16(i16) click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 90
def write_i16(i16)
  @protocol.write_i16(i16)
end
write_i32(i32) click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 94
def write_i32(i32)
  @protocol.write_i32(i32)
end
write_i64(i64) click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 98
def write_i64(i64)
  @protocol.write_i64(i64)
end
write_list_begin(etype, size) click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 66
def write_list_begin(etype, size)
  @protocol.write_list_begin(etype, size)
end
write_list_end() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 70
def write_list_end
  @protocol.write_list_end
end
write_map_begin(ktype, vtype, size) click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 58
def write_map_begin(ktype, vtype, size)
  @protocol.write_map_begin(ktype, vtype, size)
end
write_map_end() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 62
def write_map_end
  @protocol.write_map_end
end
write_message_begin(name, type, seqid) click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 30
def write_message_begin(name, type, seqid)
  @protocol.write_message_begin
end
write_message_end() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 34
def write_message_end
  @protocol.write_message_end
end
write_set_begin(etype, size) click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 74
def write_set_begin(etype, size)
  @protocol.write_set_begin(etype, size)
end
write_set_end() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 78
def write_set_end
  @protocol.write_set_end
end
write_string(str) click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 106
def write_string(str)
  @protocol.write_string(str)
end
write_struct_begin(name) click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 38
def write_struct_begin(name)
  @protocol.write_struct_begin(name)
end
write_struct_end() click to toggle source
# File lib/thrift/protocol/protocol_decorator.rb, line 42
def write_struct_end
  @protocol.write_struct_end
end