Class: Thrift::StoredMessageProtocol

Inherits:
BaseProtocol
  • Object
show all
Includes:
ProtocolDecorator
Defined in:
lib/thrift/multiplexed_processor.rb

Instance Method Summary collapse

Methods included from ProtocolDecorator

#read_binary, #read_bool, #read_byte, #read_double, #read_field_begin, #read_field_end, #read_i16, #read_i32, #read_i64, #read_list_begin, #read_list_end, #read_map_begin, #read_map_end, #read_message_end, #read_set_begin, #read_set_end, #read_string, #read_struct_begin, #read_struct_end, #trans, #write_binary, #write_bool, #write_byte, #write_double, #write_field_begin, #write_field_end, #write_field_stop, #write_i16, #write_i32, #write_i64, #write_list_begin, #write_list_end, #write_map_begin, #write_map_end, #write_message_begin, #write_message_end, #write_set_begin, #write_set_end, #write_string, #write_struct_begin, #write_struct_end

Constructor Details

#initialize(protocol, message_begin) ⇒ StoredMessageProtocol

Returns a new instance of StoredMessageProtocol.



48
49
50
51
# File 'lib/thrift/multiplexed_processor.rb', line 48

def initialize(protocol, message_begin)
  super(protocol)
  @message_begin = message_begin
end

Instance Method Details

#read_message_beginObject



53
54
55
# File 'lib/thrift/multiplexed_processor.rb', line 53

def read_message_begin
  @message_begin
end