ChannelCommandCheck class

Asks a channel aggregate whether it would take command, without taking it: the command runs through the aggregate's own handler and nothing is journaled (bead libspiffy-1a5k).

For a step whose effect outside the journal comes first. A refund claim is broadcast before it is journaled, since only a refund the network holds is a claim; checking it here first means a claim the channel refuses never reaches the network. The same command is then sent for real, and checked again, because the state may have moved in between.

Constructors

ChannelCommandCheck(ChannelCommand command)

Properties

command → ChannelCommand
final
correlationId → String
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
metadata → Map<String, dynamic>
finalinherited
payload → dynamic
no setter
replyTo → ActorRef?
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sender → ActorRef?
finalinherited
timestamp → DateTime
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited