Class: Concurrent::ErlangActor::Down
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb |
Overview
A message send by a monitored actor when terminated.
Class Method Summary
- .new(from, reference, info) ⇒ Down constructor private
Instance Attribute Summary
- #from ⇒ Pid readonly
- #info ⇒ Object readonly
- #reference ⇒ Reference readonly
Instance Method Summary
- #==(o) ⇒ true, false (also: #eql?)
-
#eql?(o)
Alias for #==.
- #hash ⇒ Integer
- #to_ary ⇒ ::Array(Pis, Reference, Object)
Constructor Details
.new(from, reference, info) ⇒ Down
(private)
Instance Attribute Details
#from ⇒ Pid (readonly)
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1469
attr_reader :from
#info ⇒ Object (readonly)
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1473
attr_reader :info
#reference ⇒ Reference (readonly)
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1471
attr_reader :reference
Instance Method Details
#==(o) ⇒ true
, false
Also known as: #eql?
#eql?(o)
Alias for #==.
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1492
alias_method :eql?, :==
#hash ⇒ Integer
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1495
def hash to_ary.hash end
#to_ary ⇒ ::Array
(Pis
, Reference, Object)
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1483
def to_ary [@from, @reference, @info] end