net-mqtt-0.2.4.0: An MQTT Protocol Implementation.

Copyright(c) Dustin Sallings 2019
LicenseBSD3
Maintainerdustin@spy.net
Stabilityexperimental
Safe HaskellSafe
LanguageHaskell2010

Network.MQTT.Types

Description

MQTT Types.

Synopsis

Documentation

data LastWill Source #

An MQTT Will message.

Instances
Eq LastWill Source # 
Instance details

Defined in Network.MQTT.Types

Show LastWill Source # 
Instance details

Defined in Network.MQTT.Types

data QoS Source #

QoS values for publishing and subscribing.

Constructors

QoS0 
QoS1 
QoS2 
Instances
Bounded QoS Source # 
Instance details

Defined in Network.MQTT.Types

Methods

minBound :: QoS #

maxBound :: QoS #

Enum QoS Source # 
Instance details

Defined in Network.MQTT.Types

Methods

succ :: QoS -> QoS #

pred :: QoS -> QoS #

toEnum :: Int -> QoS #

fromEnum :: QoS -> Int #

enumFrom :: QoS -> [QoS] #

enumFromThen :: QoS -> QoS -> [QoS] #

enumFromTo :: QoS -> QoS -> [QoS] #

enumFromThenTo :: QoS -> QoS -> QoS -> [QoS] #

Eq QoS Source # 
Instance details

Defined in Network.MQTT.Types

Methods

(==) :: QoS -> QoS -> Bool #

(/=) :: QoS -> QoS -> Bool #

Show QoS Source # 
Instance details

Defined in Network.MQTT.Types

Methods

showsPrec :: Int -> QoS -> ShowS #

show :: QoS -> String #

showList :: [QoS] -> ShowS #

newtype PubACK Source #

Constructors

PubACK Word16 
Instances
Eq PubACK Source # 
Instance details

Defined in Network.MQTT.Types

Methods

(==) :: PubACK -> PubACK -> Bool #

(/=) :: PubACK -> PubACK -> Bool #

Show PubACK Source # 
Instance details

Defined in Network.MQTT.Types

ByteMe PubACK Source # 
Instance details

Defined in Network.MQTT.Types

newtype PubREC Source #

Constructors

PubREC Word16 
Instances
Eq PubREC Source # 
Instance details

Defined in Network.MQTT.Types

Methods

(==) :: PubREC -> PubREC -> Bool #

(/=) :: PubREC -> PubREC -> Bool #

Show PubREC Source # 
Instance details

Defined in Network.MQTT.Types

ByteMe PubREC Source # 
Instance details

Defined in Network.MQTT.Types

newtype PubREL Source #

Constructors

PubREL Word16 
Instances
Eq PubREL Source # 
Instance details

Defined in Network.MQTT.Types

Methods

(==) :: PubREL -> PubREL -> Bool #

(/=) :: PubREL -> PubREL -> Bool #

Show PubREL Source # 
Instance details

Defined in Network.MQTT.Types

ByteMe PubREL Source # 
Instance details

Defined in Network.MQTT.Types

newtype PubCOMP Source #

Constructors

PubCOMP Word16 
Instances
Eq PubCOMP Source # 
Instance details

Defined in Network.MQTT.Types

Methods

(==) :: PubCOMP -> PubCOMP -> Bool #

(/=) :: PubCOMP -> PubCOMP -> Bool #

Show PubCOMP Source # 
Instance details

Defined in Network.MQTT.Types

ByteMe PubCOMP Source # 
Instance details

Defined in Network.MQTT.Types

class ByteMe a where Source #

Minimal complete definition

Nothing

Instances
ByteMe ByteString Source # 
Instance details

Defined in Network.MQTT.Types

ByteMe UnsubscribeResponse Source # 
Instance details

Defined in Network.MQTT.Types

ByteMe UnsubscribeRequest Source # 
Instance details

Defined in Network.MQTT.Types

ByteMe SubscribeResponse Source # 
Instance details

Defined in Network.MQTT.Types

ByteMe PubCOMP Source # 
Instance details

Defined in Network.MQTT.Types

ByteMe PubREL Source # 
Instance details

Defined in Network.MQTT.Types

ByteMe PubREC Source # 
Instance details

Defined in Network.MQTT.Types

ByteMe PubACK Source # 
Instance details

Defined in Network.MQTT.Types

ByteMe SubscribeRequest Source # 
Instance details

Defined in Network.MQTT.Types

ByteMe PublishRequest Source # 
Instance details

Defined in Network.MQTT.Types

ByteMe ConnACKFlags Source # 
Instance details

Defined in Network.MQTT.Types

ByteMe MQTTPkt Source # 
Instance details

Defined in Network.MQTT.Types

ByteMe ConnectRequest Source # 
Instance details

Defined in Network.MQTT.Types