Movie::Remote::RemoteActorRef(T)
Inherits Movie::ActorRefBase < Reference < Object
RemoteActorRef provides a type-safe reference to an actor in a remote system. Messages sent through this reference are serialized and transmitted over TCP. Uses striped connection pools for parallel sending while preserving per-actor ordering.
Constants
Log = ::Log.for(self)
Constructors
new(system : Movie::AbstractActorSystem, pool : StripedConnectionPool, target_path : ActorPath, path_registry : Movie::PathRegistry)
SourceInstance methods
ask(message : T, response_type : R.class, timeout : Time::Span = 30.seconds) : Movie::Future(R) forall R
Performs an ask (request-reply) to the remote actor. Returns a Future that will be completed with the response.
target_path
SourceSends a message to the remote actor with sender information.
tell_unordered(message : T)
Sends a message without ordering guarantee (uses round-robin for load balancing).