asType method
Sets the type of the message identified in the header.
Implementation
MqttHeader asType(MqttMessageType messageType) {
this.messageType = messageType;
return this;
}
Sets the type of the message identified in the header.
MqttHeader asType(MqttMessageType messageType) {
this.messageType = messageType;
return this;
}