OptionalcapabilitiesExplicit capability requirements per message type.
OptionaldescriptionDescriptor description.
Wire domain and descriptor name.
Build the initial state (called on construction and on reset).
service for built-in runtime domains (no messageCapabilities emitted
unless capabilities is given); extension for domains outside the
built-in dispatcher (every route is published with null unless
overridden by capabilities).
OptionalonHook run when a capability is revoked for a window.
OptionalonHook run once the runtime attaches the handler.
OptionalonHook run when the runtime detaches the handler.
OptionalonExtra per-window cleanup (state cleanup for the destroyed window).
OptionalpushesShell -> napplet push types this mock emits outside a request, each mapped
to the recipient capability or explicit null. Published as the handler's
pushCapabilities, which is how ServiceRuntimeContext.sendToEligibleNapplet
authorizes a push into a domain outside the built-in dispatcher. Built-in
domains keep the runtime's own recipient mapping.
Exact message type → handler.
Descriptor version.
Declarative description consumed by
defineMockService.Example