nooschain / net/network-transport / NetworkMessage
Interface: NetworkMessage
Defined in: net/network-transport.ts:19
Opaque message envelope passed through a network transport.
Properties
createdAt
createdAt:
string
Defined in: net/network-transport.ts:29
ISO timestamp assigned by the sender.
payload
payload:
unknown
Defined in: net/network-transport.ts:27
Application-specific payload owned by the caller.
sourceNodeId
sourceNodeId:
string
Defined in: net/network-transport.ts:23
Node id that created the message.
targetNodeId?
optionaltargetNodeId?:string|null
Defined in: net/network-transport.ts:25
Optional direct target node id; absent/null can mean broadcast by topic.
type
type:
string
Defined in: net/network-transport.ts:21
Application-level message type chosen by the caller.