MPIPayload

data class MPIPayload(data: String?, msgID: String)

MPIPayload stores a msgID and data required for an event as a string and a msgID

Constructors

MPIPayload
Link copied to clipboard
fun MPIPayload(data: String? = null, msgID: String = UUID.randomUUID().toString())

Functions

component1
Link copied to clipboard
operator fun component1(): String?
component2
Link copied to clipboard
operator fun component2(): String
copy
Link copied to clipboard
fun copy(data: String? = null, msgID: String = UUID.randomUUID().toString()): MPIPayload
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String
Encode the MPIPayload object to a description string

Properties

data
Link copied to clipboard
val data: String? = null
msgID
Link copied to clipboard
val msgID: String