class Concurrent::ErlangActor::Down

A message send by a monitored actor when terminated.

Attributes

from[R]

@return [Pid]

info[R]

@return [Object]

reference[R]

@return [Reference]

Public Class Methods

new(from, reference, info) click to toggle source

@!visibility private

# File lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb, line 1476
def initialize(from, reference, info)
  @from      = from
  @reference = reference
  @info      = info
end

Public Instance Methods

==(o) click to toggle source

@return [true, false]

# 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
Also aliased as: eql?
eql?(o)
Alias for: ==
hash() click to toggle source

@return [Integer]

# File lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb, line 1495
def hash
  to_ary.hash
end
to_ary() click to toggle source

@return [::Array(Pis, Reference, Object)]

# File lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb, line 1483
def to_ary
  [@from, @reference, @info]
end