writeKeepAlive method

void writeKeepAlive (
  1. MqttByteBuffer stream
)

Keep alive

Implementation

void writeKeepAlive(MqttByteBuffer stream) {
  stream.writeShort(keepAlive);
}