Methods

Thrift::BinaryProtocolAcceleratedFactory

Public Instance Methods

get_protocol(trans) click to toggle source
# File lib/thrift/protocol/binary_protocol_accelerated.rb, line 31
def get_protocol(trans)
  if (defined? BinaryProtocolAccelerated)
    BinaryProtocolAccelerated.new(trans)
  else
    BinaryProtocol.new(trans)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.