MqttConnectMessage.fromByteBuffer constructor

MqttConnectMessage.fromByteBuffer(
  1. MqttHeader header,
  2. MqttByteBuffer messageStream
)

Initializes a new instance of the MqttConnectMessage class.

Implementation

MqttConnectMessage.fromByteBuffer(
    MqttHeader header, MqttByteBuffer messageStream) {
  this.header = header;
  readFrom(messageStream);
}