ExpireChannelCommand class
Record that a payment channel has expired (lockTime elapsed).
Issued by the expiry monitor on either side. Routes to PCMA via the channel adapter and ultimately emits ChannelExpiredEvent through the aggregate so the read model picks up the transition. Distinct from CloseChannelCommand which is the cooperative-close pathway.
- Inheritance
-
- Object
- CoordinatorRequest<
ChannelExpiredEvent> - ExpireChannelCommand
Constructors
- ExpireChannelCommand({required String channelId, required String observedBy, String? settlementOrRefundTxId, String? requestId})
Properties
- channelId → String
-
final
- correlationId → String
-
The correlation ID of the message.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Map<
String, dynamic> -
The metadata of the message.
no setter
- observedBy → String
-
final
- replyTimeout → Duration
-
How long
WalletCoordinator.askwaits for the reply when the caller gives no timeout. A request that is still running then is not cancelled: its reply arrives on the event stream later.no setteroverride - replyTo → ActorRef?
-
The actor to reply to.
no setterinherited
- requestId → String
-
Identifies this request; its reply carries it back.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settlementOrRefundTxId → String?
-
final
- timestamp → DateTime
-
The timestamp of the message.
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