mqtt ~master (2019-03-27T20:21:48Z)
Dub
Repo
MqttConnect
mqttd
message
Undocumented in source.
struct
MqttConnect {
this
(MqttFixedHeader header);
void
postBlit
(Cereal cereal);
mixin
assertHasPostBlit
!
MqttConnect
;
bool
isBadClientId
[@property getter];
MqttFixedHeader
header
;
string
protoName
;
ubyte
protoVersion
;
@
Bits
!1
bool
hasUserName
;
@
Bits
!1
bool
hasPassword
;
@
Bits
!1
bool
hasWillRetain
;
@
Bits
!2
ubyte
willQos
;
@
Bits
!1
bool
hasWill
;
@
Bits
!1
bool
hasClear
;
@
Bits
!1
bool
reserved
;
ushort
keepAlive
;
string
clientId
;
@
NoCereal
string
willTopic
;
@
NoCereal
string
willMessage
;
@
NoCereal
string
userName
;
@
NoCereal
string
password
;
}
Constructors
this
this
(MqttFixedHeader header)
Undocumented in source.
Members
Functions
postBlit
void
postBlit
(Cereal cereal)
Undocumented in source. Be warned that the author may not have intended to support it.
Mixins
__anonymous
mixin
assertHasPostBlit
!
MqttConnect
Undocumented in source.
Properties
isBadClientId
bool
isBadClientId
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
clientId
string
clientId
;
Undocumented in source.
hasClear
bool
hasClear
;
Undocumented in source.
hasPassword
bool
hasPassword
;
Undocumented in source.
hasUserName
bool
hasUserName
;
Undocumented in source.
hasWill
bool
hasWill
;
Undocumented in source.
hasWillRetain
bool
hasWillRetain
;
Undocumented in source.
header
MqttFixedHeader
header
;
Undocumented in source.
keepAlive
ushort
keepAlive
;
Undocumented in source.
password
string
password
;
Undocumented in source.
protoName
string
protoName
;
Undocumented in source.
protoVersion
ubyte
protoVersion
;
Undocumented in source.
reserved
bool
reserved
;
Undocumented in source.
userName
string
userName
;
Undocumented in source.
willMessage
string
willMessage
;
Undocumented in source.
willQos
ubyte
willQos
;
Undocumented in source.
willTopic
string
willTopic
;
Undocumented in source.
Meta
Source
See Implementation
mqttd
message
enums
MqttType
functions
getTopic
getType
structs
MqttConnack
MqttConnect
MqttFixedHeader
MqttPingResp
MqttPublish
MqttSuback
MqttSubscribe
MqttUnsuback
MqttUnsubscribe