commonMain.com.ditchoom.Mqtt4.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mqtt-4-models Show documentation
Show all versions of mqtt-4-models Show documentation
Defines the MQTT 3 and 4 control packets
package com.ditchoom
import app.cash.sqldelight.Transacter
import app.cash.sqldelight.db.SqlDriver
import app.cash.sqldelight.db.SqlSchema
import com.ditchoom.modelsv4.newInstance
import com.ditchoom.modelsv4.schema
import com.ditchoom.mqtt3.persistence.BrokerQueries
import com.ditchoom.mqtt3.persistence.ConnectionRequestQueries
import com.ditchoom.mqtt3.persistence.PublishMessageQueries
import com.ditchoom.mqtt3.persistence.QoS2MessagesQueries
import com.ditchoom.mqtt3.persistence.SocketConnectionQueries
import com.ditchoom.mqtt3.persistence.SubscriptionQueries
import com.ditchoom.mqtt3.persistence.SubscriptionRequestQueries
import com.ditchoom.mqtt3.persistence.UnsubscribeRequestQueries
public interface Mqtt4 : Transacter {
public val brokerQueries: BrokerQueries
public val connectionRequestQueries: ConnectionRequestQueries
public val publishMessageQueries: PublishMessageQueries
public val qoS2MessagesQueries: QoS2MessagesQueries
public val socketConnectionQueries: SocketConnectionQueries
public val subscriptionQueries: SubscriptionQueries
public val subscriptionRequestQueries: SubscriptionRequestQueries
public val unsubscribeRequestQueries: UnsubscribeRequestQueries
public companion object {
public val Schema: SqlSchema
get() = Mqtt4::class.schema
public operator fun invoke(driver: SqlDriver): Mqtt4 = Mqtt4::class.newInstance(driver)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy