core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
actors :: Message :: defaultinit
core :: Object :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).
# A Message received by a Mailbox
# In fact, this is the reification of a call
# Each Message class represent a call to make on `instance` via `invoke`
abstract class Message
# Type of the class on which `self` make the call
type E: Object
# Redef this method so it calls the right one on `instance` (double dispatch)
fun invoke(instance: E) is abstract
end
lib/actors/actors.nit:120,1--130,3