readKeepAlive method

void readKeepAlive(
  1. MqttByteBuffer stream
)

Keep alive

Implementation

void readKeepAlive(MqttByteBuffer stream) {
  keepAlive = stream.readShort();
  length += 2;
}