()
| 60 | } |
| 61 | |
| 62 | close () { |
| 63 | Object.keys(this.clients).forEach(clientId => { |
| 64 | const client = this.clients[clientId] |
| 65 | client.end('ServerShutdown') |
| 66 | }) |
| 67 | this.socketServer.close() |
| 68 | } |
| 69 | |
| 70 | writeToClients (clients, name, params) { |
| 71 | if (clients.length === 0) return |
no test coverage detected