Debug monitoring
[qomet.git] / public / javascripts / utils / socketMessages.js
1 // Socket message list, easier life in case of a message renaming
2
3 let message = {
4 // Send answer (student --> server --> monitor)
5 newAnswer: "new answer",
6 // Receive all answers to an exam (monitor --> server --> student)
7 allAnswers: "all answers",
8 // Next 2 to monitor students disconnections
9 studentConnect: "student connect",
10 studentDisconnect: "student disconnect",
11 };
12
13 try { module.exports = message; } catch (err) {} //for server