CommandRpcClient class
RPC facade over the command plane. submit builds and sends CommandSubmit;
incoming frames and receipts are folded via ingest*; a unary call resolves
only when the projection reaches a terminal outcome — never on an ACK or an
accepted event.
Constructors
- CommandRpcClient(CommandTransport _transport)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- projection → CommandProjection
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancel(
CommandCancel cancel) → void - Build, send, and fold a CommandCancel.
-
ingestCommand(
CommandMessage message) → CommandApplyStatus - Fold an incoming command message.
-
ingestReceipt(
CausalReceipt receipt) → CommandApplyStatus - Fold an incoming causal receipt.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pollCall(
String commandId) → CallState -
Poll the resolution state of
commandId. -
submit(
CommandSubmit submit) → String - Build, send, and fold a CommandSubmit. Returns the command id.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited