IMessageSender
Message sending functions of the IRemoteSupportClient interface
Functions
Link copied to clipboard
Sends the provided Command to the remote peer
Link copied to clipboard
Sends the provided Notification to the remote peer
Link copied to clipboard
Sends the provided Query to the remote peer
Inheritors
Extensions
Link copied to clipboard
suspend fun IMessageSender.sendBytes( message: ByteBuffer, tag: IUserMessageTag = DefaultCategory.Bytes.defaultTag, category: IUserMessageCategory = DefaultCategory.Bytes)
Content copied to clipboard
Send a ByteBuffer with the DefaultCategory.Bytes category and tag
Link copied to clipboard
suspend fun IMessageSender.sendChat( message: String, tag: IUserMessageTag = DefaultCategory.Chat.defaultTag, category: IUserMessageCategory = DefaultCategory.Chat)
Content copied to clipboard
Send a text notification with the DefaultCategory.Chat category and tag
Link copied to clipboard
suspend fun IMessageSender.sendLogEntry( message: String, tag: IUserMessageTag = DefaultCategory.Log.defaultTag, category: IUserMessageCategory = DefaultCategory.Log)
Content copied to clipboard
Send a text notification with the DefaultCategory.Log category and tag
Link copied to clipboard
suspend fun IMessageSender.sendObject( message: ByteBuffer, tag: IUserMessageTag = DefaultCategory.Object.defaultTag, category: IUserMessageCategory = DefaultCategory.Object)
Content copied to clipboard
Send a serialized object with the DefaultCategory.Object category and tag