Expand description
Transports and address resolution.
A Transport carries a message into a mailbox and is registered as an SCXML Event I/O
Processor under its type IRI, which <send type="..."> selects; the runtime lists every
registered transport in _ioprocessors. M2 ships the in-process LocalTransport.
The Directory maps an address to the mailbox that serves it. Addresses hosted on this
node are resolved first; any other address goes to the Resolver registered for its IRI
scheme. Resolution depends only on the address.
Structs§
- Directory
- The resolvers of non-local addresses, keyed by IRI scheme.
- Local
Transport - The in-process transport: the SCXML Event I/O Processor
(
http://www.w3.org/TR/scxml/#SCXMLEventProcessor, aliasscxml). - Resolve
Error - An address the directory could not resolve.
- Transport
Error - A delivery failure; the outbox keeps the send and retries it.
- Transports
- The registered transports, by type IRI and alias.