Skip to main content

Module system

Module system 

Source
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 AkkaProtocolTransport handshake/heartbeat layer,
  • the EndpointManager association state machine,
  • the RemoteSystemDaemon for inbound dispatch,
  • the RemoteWatcher for cross-system death watch,
  • a SerializerRegistry and AddressUid.

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ยง

RemoteSystem
Returned by RemoteSystem::start.