123456789101112131415161718192021 |
- /**
- * Created by Sand on 2016/11/17.
- */
- "use strict";
- var log = require("../util/log.js");
- var PatientClient = require('./PatientClient');
- var clients = {};
- module.exports.onConnection = function(socket){
- log.info("Patient connected from WebSocket.");
- socket.on('data', function (data) {
- });
- socket.emit('welcome', {message: 'Welcome to IM server.'});
- };
- module.exports.onDisconnect = function () {
- };
|