Method: Thrift::MultiplexedProtocol#write_message_begin
- Defined in:
- lib/thrift_client/thrift/protocol.rb
#write_message_begin(name, type, seqid) ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/thrift_client/thrift/protocol.rb', line 13 def (name, type, seqid) case type when MessageTypes::CALL, MessageTypes::ONEWAY @protocol.(@service_name + ":" + name, type, seqid) else @protocol.(name, type, seqid) end end |