class
Movie::Cluster::ServiceRef(T)
- Movie::Cluster::ServiceRef(T)
- Movie::ActorRefBase
- Reference
- Object
Overview
A typed actor reference resolved from a receptionist listing.
Defined in:
movie/cluster/receptionist/ref.crConstructors
Instance Method Summary
- #<<(message : T) : Nil
- #==(other : Movie::ActorRefBase) : Bool
- #ask(message : T, response_type : R.class, timeout : Time::Span = 30.seconds) : Movie::Future(R) forall R
-
#hash(hasher)
See
Object#hash(hasher) -
#owner : UniqueAddress | Nil
Exact cluster-member incarnation that owns this service registration.
- #send_system(message : Movie::SystemMessage) : Nil
- #service_path : Movie::ActorPath
- #tell_from(sender : Movie::ActorRefBase | Nil, message : T) : Nil
Instance methods inherited from class Movie::ActorRefBase
id : Int32
id,
path : ActorPath | Nil
path,
path=(path : ActorPath | Nil)
path=,
remote_peer_address : Address | Nil
remote_peer_address,
remote_peer_node_uid : String | Nil
remote_peer_node_uid,
send_system(message : SystemMessage)
send_system
Constructor methods inherited from class Movie::ActorRefBase
new(id : Int32, path : ActorPath | Nil = nil)
new
Constructor Detail
def self.new(system : Movie::AbstractActorSystem, service_path : Movie::ActorPath, owner : UniqueAddress | Nil = nil)
#
Instance Method Detail
def ask(message : T, response_type : R.class, timeout : Time::Span = 30.seconds) : Movie::Future(R) forall R
#
def owner : UniqueAddress | Nil
#
Exact cluster-member incarnation that owns this service registration.
This is nil only for references constructed directly instead of from a
receptionist listing.