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

commonMain.com.ditchoom.Mqtt4.kt Maven / Gradle / Ivy

There is a newer version: 1.2.0
Show newest version
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