All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.mqtt.packets.mqttv5.MQTT5Properties.kt Maven / Gradle / Ivy

There is a newer version: 0.4.8
Show newest version
package mqtt.packets.mqttv5

public class MQTT5Properties(
    public var payloadFormatIndicator: UInt? = null,
    public var messageExpiryInterval: UInt? = null,
    public var contentType: String? = null,
    public var responseTopic: String? = null,
    public var correlationData: UByteArray? = null,
    public val subscriptionIdentifier: MutableList = mutableListOf(),
    public var sessionExpiryInterval: UInt? = null,
    public var assignedClientIdentifier: String? = null,
    public var serverKeepAlive: UInt? = null,
    public var authenticationMethod: String? = null,
    public var authenticationData: UByteArray? = null,
    public var requestProblemInformation: UInt? = null,
    public var willDelayInterval: UInt? = null,
    public var requestResponseInformation: UInt? = null,
    public var responseInformation: String? = null,
    public var serverReference: String? = null,
    public var reasonString: String? = null,
    public var receiveMaximum: UInt? = null,
    public var topicAliasMaximum: UInt? = null,
    public var topicAlias: UInt? = null,
    public var maximumQos: UInt? = null,
    public var retainAvailable: UInt? = null,
    public val userProperty: MutableList> = mutableListOf(),
    public var maximumPacketSize: UInt? = null,
    public var wildcardSubscriptionAvailable: UInt? = null,
    public var subscriptionIdentifierAvailable: UInt? = null,
    public var sharedSubscriptionAvailable: UInt? = null
) {
    public fun addUserProperty(property: Pair) {
        userProperty += property
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy