Notification

class Notification(    val data: IMessageBufferReader,     val tag: String,     val category: Int) : Message

A Notification is a message that does not require a response from the peer.

Parameters

data

A data payload of the Notification.

tag

A string which helps identifies the content type of the Notification.

category

A user-defined integer which helps identify the function of the Notification.

Constructors

Link copied to clipboard
fun Notification(    data: IMessageBufferReader,     tag: String,     category: Int)

Construct a Notification.

Properties

Link copied to clipboard
val category: Int

A user-defined integer which helps identify the function of the Message.

Link copied to clipboard
val data: IMessageBufferReader

A data payload in the Message.

Link copied to clipboard
val id: String

Unique identifier for the Message

Link copied to clipboard
val tag: String

A string which identifies the content type of the Message.

Link copied to clipboard
open override val type: Byte

Byte which identifies the contained data as a query