SendMessageUseCase
class SendMessageUseCase(nodeRepository: NodeRepository, packetRepository: PacketRepository, radioController: ERROR CLASS: Symbol not found for RadioController, homoglyphEncodingPrefs: HomoglyphPrefs, messageQueue: MessageQueue)(source)
Use case for sending a message over the mesh network.
This component orchestrates the process of:
Resolving the destination and sender information.
Handling implicit actions for direct messages (e.g., sharing contacts, favoriting).
Applying message transformations (e.g., homoglyph encoding).
Persisting the outgoing message in the local history.
Enqueuing the message for durable delivery via the platform's message queue.
This implementation is platform-agnostic and relies on injected repositories and controllers.
Constructors
Link copied to clipboard
constructor(nodeRepository: NodeRepository, packetRepository: PacketRepository, radioController: ERROR CLASS: Symbol not found for RadioController, homoglyphEncodingPrefs: HomoglyphPrefs, messageQueue: MessageQueue)