Class: Jp::ThriftConsumer
- Inherits:
-
AbstractConsumer
- Object
- AbstractClient
- AbstractConsumer
- Jp::ThriftConsumer
- Defined in:
- lib/rb/jp/consumer.rb
Instance Method Summary collapse
-
#initialize(queue, base, options = {}, &block) ⇒ ThriftConsumer
constructor
A new instance of ThriftConsumer.
Methods inherited from AbstractConsumer
Constructor Details
#initialize(queue, base, options = {}, &block) ⇒ ThriftConsumer
Returns a new instance of ThriftConsumer.
71 72 73 74 75 |
# File 'lib/rb/jp/consumer.rb', line 71 def initialize queue, base, = {}, &block super queue, , &block @base = base @deserializer = Thrift::Deserializer.new end |