# File lib/fluent/msgpack_factory.rb, line 38 def self.engine_factory @@engine_factory || factory end
# File lib/fluent/msgpack_factory.rb, line 42 def self.factory factory = MessagePack::Factory.new factory.register_type(Fluent::EventTime::TYPE, Fluent::EventTime) factory end
# File lib/fluent/msgpack_factory.rb, line 56 def self.init factory = MessagePack::Factory.new factory.register_type(Fluent::EventTime::TYPE, Fluent::EventTime) @@engine_factory = factory end
# File lib/fluent/msgpack_factory.rb, line 48 def self.packer(*args) factory.packer(*args) end
# File lib/fluent/msgpack_factory.rb, line 52 def self.unpacker(*args) factory.unpacker(*args) end