class Thrift::BinaryProtocolAcceleratedFactory

Public Instance Methods

get_protocol(trans) click to toggle source
# File build/evernote-mode-6YHuyP/evernote-mode-0.41/ruby/thrift/protocol/binary_protocol_accelerated.rb, line 31
def get_protocol(trans)
  if (defined? BinaryProtocolAccelerated)
    BinaryProtocolAccelerated.new(trans)
  else
    BinaryProtocol.new(trans)
  end
end