The Apple native test peer host does not exist without dart:ffi. It cannot be constructed, and start refuses.
Properties
- connection → PeerOfficeConnection
-
The live Peer Office connection. A host whose trust-root application replaces the
connection (Node reboots its process) answers the new one afterwards.
no setterinherited
- custodyDirectory → Directory
-
The temporary directory holding this peer's Git custody. Deleted by
dispose.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- kernelCalls → NomosKernelCallTransport
-
The generated binary kernel lane of
connection(fixture genesis and law installs).no setterinherited - kind → NmsTestPeerHostKind
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
awaitReady(
DartReception reception) → Future< void> -
Complete once
reception(a new Reception overconnection) may be used: the Node shell posts areadyevent when its process has booted; the native host booted its resident kernel and Peer Office when it started and posts no such event.inherited -
dispose(
) → Future< void> -
stop, then deletecustodyDirectory.inherited -
inspectLawPackage(
Uint8List lawUsdz, String label) → Future< LawPackageInspection> -
The kernel's inspection of an opaque law package: its content identity and domain keys.
Node asks its Peer Office (Runtime v2
inspectLawPackage). The Apple host's office has no inspection port, so the native shell asks its resident kernel directly — the samecustody.lawClosureInfocall the Node adapter makes for its office.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
provisionWorkspace(
String workspace) → Future< void> -
Provision the platform-owned empty custody into which the one parentless genesis
offer for
workspacemay write, in this host's layout. Fixture plumbing, not an application lifecycle operation.inherited -
restart(
{required List< int> trustRootPublicKey, Future<void> arrangeStoppedCustody()?}) → Future<void> -
Restart the peer over the SAME custody with
trustRootPublicKey. A host that cannot restart in-process refuses loudly; it never pretends to have restarted.inherited -
stop(
) → Future< void> -
Stop the host's connection (and process, where it owns one). Custody stays on disk.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
trustFoundingRoot(
List< int> publicKey, {required Future<void> beforeReplacingConnection()}) → Future<bool> -
Trust
publicKeyas the root of this peer's universe before the genesis it will sign. Typed boot configuration, never a kernel variant. Node reboots its process with--trust-root-public-key(callingbeforeReplacingConnectionfirst, and answering true: the connection was replaced); native issues the kernel's one-timeconfigurecall on the live connection and answers false.inherited -
workspaceGitDirectory(
String workspace) → String -
The bare Git directory of
workspacein this host's custody layout.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited