ChannelP2PReceived class

Incoming P2P message for a payment channel.

A P2PMessageReceived under its original name: the coordinator routes both by messageType, so an app that already wraps everything its transport delivers in this class also reaches the proof protocol.

Inheritance

Constructors

ChannelP2PReceived({required String fromPeerId, required String messageType, required Map<String, dynamic> payload})

Properties

correlationId → String
The correlation ID of the message.
no setteroverride
fromPeerId → String
The peer that sent it, as the app names peers. The proof protocol compares this to the counterparty marker recorded on a transaction, so it must be drawn from the same identity scheme the app puts in BitcoinTransaction.counterpartyMarker.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
messageType → String
finalinherited
metadata → Map<String, dynamic>
The metadata of the message.
no setterinherited
payload → Map<String, dynamic>
finalinherited
replyTo → ActorRef?
The actor to reply to.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → DateTime
The timestamp of the message.
no setterinherited

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