Class: Fluent::Compat::ExecUtil::MessagePackParser
- Defined in:
- lib/fluent/compat/exec_util.rb
Instance Method Summary collapse
Methods inherited from Parser
Constructor Details
This class inherits a constructor from Fluent::Compat::ExecUtil::Parser
Instance Method Details
#call(io) ⇒ Object
87 88 89 90 91 92 93 |
# File 'lib/fluent/compat/exec_util.rb', line 87 def call(io) @u = Fluent::MessagePackFactory.msgpack_unpacker(io) begin @u.each(&@on_message) rescue EOFError end end |