Movie::Remote::RemoteExtension
Inherits Movie::Extension < Reference < Object
RemoteExtension is the main coordinator for the remoting system. It manages the server, connections, and provides methods for remote communication.
Usage: extension = system.enable_remoting("127.0.0.1", 9000)
or
Movie::Remote::Remoting.get(system)
Constants
Log = ::Log.for(self)
Constructors
new(system : Movie::AbstractActorSystem, bind_host : String, bind_port : Int32, stripe_count : Int32 = StripedConnectionPool::DEFAULT_STRIPE_COUNT)
SourceInstance methods
actor_ref(path : ActorPath, type : T.class) : RemoteActorRef(T) forall T
Creates a remote actor reference for the given path and type. Uses the striped connection pool for parallel sending.
Creates a remote actor reference from a path string.
address
Sourceconnect(address : Address) : Connection
Legacy: single connection interface (uses first stripe)
Generates a path for a new actor under the user guardian.
pool_for(address : Address) : StripedConnectionPool
Gets or creates a connection pool to the given address.
Registers a local actor with its path for remote access.
stripe_count
Source