Files
node-screenlogic/messages/SLChallengeMessage.js
Parnic 0bbae0446b Removed debug logging
Added verification of broadcast response message size
Added clearer handling of message types

I'm sure there's a better way to do debug logging, but I don't really feel like adding a dependency on another module just for that.
2018-03-30 20:35:24 -05:00

14 lines
264 B
JavaScript
Executable File

const SLMessage = require('./SLMessage.js').SLMessage;
const MSG_ID = 14;
exports.SLChallengeMessage = class SLChallengeMessage extends SLMessage {
constructor() {
super(0, MSG_ID);
}
static getResponseId() {
return MSG_ID + 1;
}
}