Class: Fluent::Plugin::ForwardOutput::AckHandler::Ack

Inherits:
Struct
  • Object
show all
Defined in:
lib/fluent/plugin/out_forward/ack_handler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#chunk_idObject

Returns the value of attribute chunk_id

Returns:

  • (Object)

    the current value of chunk_id



94
95
96
# File 'lib/fluent/plugin/out_forward/ack_handler.rb', line 94

def chunk_id
  @chunk_id
end

#handlerObject

Returns the value of attribute handler

Returns:

  • (Object)

    the current value of handler



94
95
96
# File 'lib/fluent/plugin/out_forward/ack_handler.rb', line 94

def handler
  @handler
end

#nodeObject

Returns the value of attribute node

Returns:

  • (Object)

    the current value of node



94
95
96
# File 'lib/fluent/plugin/out_forward/ack_handler.rb', line 94

def node
  @node
end

Instance Method Details

#enqueue(sock) ⇒ Object



95
96
97
# File 'lib/fluent/plugin/out_forward/ack_handler.rb', line 95

def enqueue(sock)
  handler.enqueue(node, sock, chunk_id)
end