Class: Concurrent::ErlangActor::Down
- Inherits:
-
Object
- Object
- Concurrent::ErlangActor::Down
- Defined in:
- lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb
Overview
A message send by a monitored actor when terminated.
Instance Attribute Summary collapse
- #from ⇒ Pid readonly
- #info ⇒ Object readonly
- #reference ⇒ Reference readonly
Instance Method Summary collapse
Instance Attribute Details
#from ⇒ Pid (readonly)
1469 1470 1471 |
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1469 def from @from end |
#info ⇒ Object (readonly)
1473 1474 1475 |
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1473 def info @info end |
#reference ⇒ Reference (readonly)
1471 1472 1473 |
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1471 def reference @reference end |
Instance Method Details
#==(o) ⇒ true, false Also known as: eql?
1488 1489 1490 |
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1488 def ==(o) o.class == self.class && o.from == @from && o.reference == @reference && o.info == @info end |
#hash ⇒ Integer
1495 1496 1497 |
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1495 def hash to_ary.hash end |
#to_ary ⇒ ::Array(Pis, Reference, Object)
1483 1484 1485 |
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1483 def to_ary [@from, @reference, @info] end |