Class: Concurrent::Actor::DefaultDeadLetterHandler

Inherits:
RestartingContext show all
Defined in:
lib/concurrent/actor/default_dead_letter_handler.rb

Instance Attribute Summary

Attributes inherited from AbstractContext

#core

Instance Method Summary collapse

Methods inherited from RestartingContext

#behaviour_definition

Methods inherited from AbstractContext

#ask, #behaviour_definition, #dead_letter_routing, #default_executor, #default_reference_class, #envelope, #on_envelope, #on_event, #pass, spawn, spawn!, #tell

Methods included from InternalDelegations

#behaviour, #behaviour!, #children, #context, #dead_letter_routing, #log, #redirect, #terminate!, #terminated?

Methods included from PublicDelegations

#context_class, #executor, #name, #parent, #path, #reference

Methods included from TypeCheck

#Child!, #Child?, #Match!, #Match?, #Type!, #Type?

Instance Method Details

#on_message(dead_letter) ⇒ Object



4
5
6
# File 'lib/concurrent/actor/default_dead_letter_handler.rb', line 4

def on_message(dead_letter)
  log(INFO) { "got dead letter #{dead_letter.inspect}"}
end