Class: Concurrent::Actor::Behaviour::ErrorsOnUnknownMessage

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

Overview

Simply fails when message arrives here. It's usually the last behaviour.

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)

Raises:



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

def on_envelope(envelope)
  raise UnknownMessage, envelope
end