Class: Thrift::CompactProtocolFactory
- Inherits:
-
BaseProtocolFactory
- Object
- BaseProtocolFactory
- Thrift::CompactProtocolFactory
- Defined in:
- lib/thrift/protocol/compact_protocol.rb
Instance Method Summary collapse
Instance Method Details
#get_protocol(trans) ⇒ Object
435 436 437 |
# File 'lib/thrift/protocol/compact_protocol.rb', line 435 def get_protocol(trans) CompactProtocol.new(trans) end |
#to_s ⇒ Object
439 440 441 |
# File 'lib/thrift/protocol/compact_protocol.rb', line 439 def to_s "compact" end |