Class: Jp::ThriftProducer

Inherits:
AbstractProducer show all
Defined in:
lib/rb/jp/producer.rb

Instance Method Summary collapse

Methods inherited from AbstractProducer

#add

Constructor Details

#initialize(queue, options = {}) ⇒ ThriftProducer

Returns a new instance of ThriftProducer.



36
37
38
39
# File 'lib/rb/jp/producer.rb', line 36

def initialize queue, options = {}
	super queue, options
	@serializer = Thrift::Serializer.new
end