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