mqtt ~master (2019-03-27T20:21:48Z)
Dub
Repo
MqttPublish
mqttd
message
Undocumented in source.
struct
MqttPublish {
this
(MqttFixedHeader header);
this
(string topic, ubyte[] payload, ushort msgId);
this
(bool dup, ubyte qos, bool retain, string topic, ubyte[] payload, ushort msgId);
void
postBlit
(Cereal cereal);
mixin
assertHasPostBlit
!
MqttPublish
;
const
(
ubyte
)[]
payload
();
MqttFixedHeader
header
;
string
topic
;
@
NoCereal
ushort
msgId
;
@
NoCereal
bool
cantDecerealise
;
}
Constructors
this
this
(MqttFixedHeader header)
Undocumented in source.
this
this
(string topic, ubyte[] payload, ushort msgId)
Undocumented in source.
this
this
(bool dup, ubyte qos, bool retain, string topic, ubyte[] payload, ushort msgId)
Undocumented in source.
Members
Functions
payload
const
(
ubyte
)[]
payload
()
Undocumented in source. Be warned that the author may not have intended to support it.
postBlit
void
postBlit
(Cereal cereal)
Undocumented in source. Be warned that the author may not have intended to support it.
Mixins
__anonymous
mixin
assertHasPostBlit
!
MqttPublish
Undocumented in source.
Variables
cantDecerealise
bool
cantDecerealise
;
Undocumented in source.
header
MqttFixedHeader
header
;
Undocumented in source.
msgId
ushort
msgId
;
Undocumented in source.
topic
string
topic
;
Undocumented in source.
Meta
Source
See Implementation
mqttd
message
enums
MqttType
functions
getTopic
getType
structs
MqttConnack
MqttConnect
MqttFixedHeader
MqttPingResp
MqttPublish
MqttSuback
MqttSubscribe
MqttUnsuback
MqttUnsubscribe