Class: Thrift::BinaryProtocolFactory

Inherits:
BaseProtocolFactory show all
Defined in:
lib/thrift/protocol/binary_protocol.rb

Instance Method Summary collapse

Instance Method Details

#get_protocol(trans) ⇒ Object



233
234
235
# File 'lib/thrift/protocol/binary_protocol.rb', line 233

def get_protocol(trans)
  return Thrift::BinaryProtocol.new(trans)
end