• File: ComPingPacket.js
  • Full Path: /var/www/nodejs/Notifications_Imali_API/node_modules/mysql/lib/protocol/packets/ComPingPacket.js
  • Date Modified: 10/26/1985 3:15 PM
  • File size: 289 bytes
  • MIME-type: text/plain
  • Charset: utf-8
module.exports = ComPingPacket;
function ComPingPacket() {
  this.command = 0x0e;
}

ComPingPacket.prototype.write = function(writer) {
  writer.writeUnsignedNumber(1, this.command);
};

ComPingPacket.prototype.parse = function(parser) {
  this.command = parser.parseUnsignedNumber(1);
};