net-mqtt-0.6.2.0: An MQTT Protocol Implementation.

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

Network.MQTT.Arbitrary

Contents

Description

Arbitrary instances for QuickCheck.

Synopsis

Documentation

newtype SizeT Source #

Arbitrary type fitting variable integers.

Constructors

SizeT Int 
Instances
Eq SizeT Source # 
Instance details

Defined in Network.MQTT.Arbitrary

Methods

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

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

Show SizeT Source # 
Instance details

Defined in Network.MQTT.Arbitrary

Methods

showsPrec :: Int -> SizeT -> ShowS #

show :: SizeT -> String #

showList :: [SizeT] -> ShowS #

Arbitrary SizeT Source # 
Instance details

Defined in Network.MQTT.Arbitrary

Methods

arbitrary :: Gen SizeT #

shrink :: SizeT -> [SizeT] #

v311mask :: MQTTPkt -> MQTTPkt Source #

v311mask strips all the v5 specific bits from an MQTTPkt.

Orphan instances

Arbitrary DisconnectRequest Source # 
Instance details

Arbitrary DiscoReason Source # 
Instance details

Arbitrary AuthRequest Source # 
Instance details

Arbitrary UnsubscribeResponse Source # 
Instance details

Arbitrary UnsubStatus Source # 
Instance details

Arbitrary UnsubscribeRequest Source # 
Instance details

Arbitrary SubErr Source # 
Instance details

Arbitrary SubscribeResponse Source # 
Instance details

Arbitrary PubCOMP Source # 
Instance details

Arbitrary PubREL Source # 
Instance details

Arbitrary PubREC Source # 
Instance details

Arbitrary PubACK Source # 
Instance details

Arbitrary SubscribeRequest Source # 
Instance details

Arbitrary SubOptions Source # 
Instance details

Arbitrary PublishRequest Source # 
Instance details

Arbitrary ConnACKFlags Source # 
Instance details

Arbitrary ConnACKRC Source # 
Instance details

Arbitrary MQTTPkt Source # 
Instance details

Arbitrary ConnectRequest Source # 
Instance details

Arbitrary LastWill Source # 
Instance details

Arbitrary ProtocolLevel Source # 
Instance details

Arbitrary Property Source # 
Instance details

Arbitrary QoS Source # 
Instance details

Methods

arbitrary :: Gen QoS #

shrink :: QoS -> [QoS] #