MessageFactory

interface MessageFactory<ID : Any, out Payload>

Factory for creating Message instances.

Inheritors

Functions

Link copied to clipboard
abstract operator fun invoke(senderId: ID, sharedData: Map<Path, PayloadRepresentation<Any?>>): Message<ID, Payload>

Creates a Message instance with the given senderId and sharedData.