withProtocolName method
Sets the name of the protocol to use.
Implementation
MqttConnectMessage withProtocolName(String protocolName) {
variableHeader!.protocolName = protocolName;
Protocol.name = protocolName;
return this;
}
Sets the name of the protocol to use.
MqttConnectMessage withProtocolName(String protocolName) {
variableHeader!.protocolName = protocolName;
Protocol.name = protocolName;
return this;
}