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



236
237
238
# File 'lib/thrift/protocol/binary_protocol.rb', line 236

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

#to_sObject



240
241
242
# File 'lib/thrift/protocol/binary_protocol.rb', line 240

def to_s
  "binary"
end