Class: Concurrent::Actor::Context Abstract
- Inherits:
-
AbstractContext
- Object
- AbstractContext
- Concurrent::Actor::Context
- Defined in:
- lib/concurrent/actor/context.rb
Overview
This class is abstract.
implement AbstractContext#on_message
Basic Context of an Actor. It supports only linking and it simply terminates on error. Uses Behaviour.basic_behaviour_definition:
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from AbstractContext
Instance Method Summary collapse
Methods inherited from AbstractContext
#ask, #dead_letter_routing, #default_executor, #default_reference_class, #envelope, #on_envelope, #on_event, #on_message, #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
#behaviour_definition ⇒ Object
151 152 153 |
# File 'lib/concurrent/actor/context.rb', line 151 def behaviour_definition Behaviour.basic_behaviour_definition end |