Expand description
RemoteSystem โ convenience wrapper that builds and wires up the
whole remoting stack on top of a atomr_core::ActorSystem.
Most users hold one RemoteSystem per process. It owns:
- the underlying
Transport(default:TcpTransport), - the
AkkaProtocolTransporthandshake/heartbeat layer, - the
EndpointManagerassociation state machine, - the
RemoteSystemDaemonfor inbound dispatch, - the
RemoteWatcherfor cross-system death watch, - a
SerializerRegistryandAddressUid.
Spawn it with RemoteSystem::start, register your message types with
RemoteSystem::register_bincode::<MyMsg>(), and then deliver a remote
actor handle to local code with RemoteSystem::actor_selection.
Structsยง
- Remote
System - Returned by
RemoteSystem::start.