diff --git a/src/server.js b/src/server.js index 1868729..6b953d0 100644 --- a/src/server.js +++ b/src/server.js @@ -5,13 +5,13 @@ var states = require('./transforms/serializer').states; class Server extends EventEmitter { + socketServer=null; + cipher=null; + decipher=null; + clients={}; + constructor() { super(); - - this.socketServer = null; - this.cipher = null; - this.decipher = null; - this.clients = {}; } listen(port, host) {