class
Movie::Remote::RemoteExtension
- Movie::Remote::RemoteExtension
- Movie::Extension
- Reference
- Object
Overview
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)
Defined in:
movie/remote/extension.crConstant Summary
-
Log =
::Log.for(self)
Constructors
Instance Method Summary
-
#actor_ref(path : ActorPath, type : T.class) : RemoteActorRef(T) forall T
Creates a remote actor reference for the given path and type.
-
#actor_ref(path_str : String, type : T.class) : RemoteActorRef(T) forall T
Creates a remote actor reference from a path string.
- #address : Address
-
#connect(address : Address) : Connection
Legacy: single connection interface (uses first stripe)
-
#connection_for(address : Address) : Connection | Nil
Legacy: single connection getter
-
#control_deduplication_stats : ControlDeduplicationStats
Receiver-side reliable-control state for operational capacity alerts.
-
#local_port : Int32
Returns the actual bound port.
- #node_uid : String
-
#path_for_actor(name : String) : ActorPath
Generates a path for a new actor under the user guardian.
-
#path_registry : Movie::PathRegistry
Delegate to system's path registry for unified actor lookup
-
#pool_for(address : Address) : StripedConnectionPool
Gets or creates a connection pool to the given address.
-
#pool_stats : Array(PoolStats)
Returns statistics for all connection pools.
-
#register_actor(ref : Movie::ActorRefBase, path : ActorPath)
Registers a local actor with its path for remote access.
-
#retire_control_node(node_uid : String) : Int32
Reclaims reliable-control cursors for a process incarnation that has been confirmed permanently stopped.
- #settings : AssociationSettings
-
#start : Bool
Starts the remote extension (server).
-
#stop
Stops the remote extension.
- #stripe_count : Int32
-
#unregister_actor(ref : Movie::ActorRefBase)
Unregisters a local actor.
Constructor Detail
Instance Method Detail
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.
Legacy: single connection interface (uses first stripe)
Legacy: single connection getter
Receiver-side reliable-control state for operational capacity alerts.
Generates a path for a new actor under the user guardian.
Delegate to system's path registry for unified actor lookup
Gets or creates a connection pool to the given address.
Registers a local actor with its path for remote access.
Reclaims reliable-control cursors for a process incarnation that has been confirmed permanently stopped. Retiring a live node breaks its sequence continuity and is therefore deliberately never automatic.