Class: Concurrent::Actor::Behaviour::ExecutesContext

Inherits:
Abstract
  • Object
show all
Defined in:
lib/concurrent/actor/behaviour/executes_context.rb

Overview

Delegates messages and events to AbstractContext instance.

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

This class inherits a constructor from Concurrent::Actor::Behaviour::Abstract

Instance Attribute Details

- (undocumented) core (readonly) Originally defined in class Abstract

- (undocumented) subsequent (readonly) Originally defined in class Abstract

Instance Method Details

- (undocumented) on_envelope(envelope)



6
7
8
# File 'lib/concurrent/actor/behaviour/executes_context.rb', line 6

def on_envelope(envelope)
  context.on_envelope envelope
end

- (undocumented) on_event(public, event)



10
11
12
13
# File 'lib/concurrent/actor/behaviour/executes_context.rb', line 10

def on_event(public, event)
  context.on_event(event)
  super public, event
end