enum
MQTT::Protocol::Connack::ReturnCode
Defined in:
mqtt/protocol/packets/connack.crEnum Members
-
Accepted =
0_u8
-
UnacceptableProtocolVersion =
1_u8
-
IdentifierRejected =
2_u8
-
BadCredentials =
4_u8
-
NotAuthorized =
5_u8
Instance Method Summary
-
#accepted?
Returns
true
if this enum value equalsAccepted
-
#bad_credentials?
Returns
true
if this enum value equalsBadCredentials
-
#identifier_rejected?
Returns
true
if this enum value equalsIdentifierRejected
-
#not_authorized?
Returns
true
if this enum value equalsNotAuthorized
-
#server_unavailable?
Returns
true
if this enum value equalsServerUnavailable
-
#unacceptable_protocol_version?
Returns
true
if this enum value equalsUnacceptableProtocolVersion
Instance Method Detail
def unacceptable_protocol_version?
#
Returns true
if this enum value equals UnacceptableProtocolVersion