update to newest version

This commit is contained in:
2017-10-09 03:06:09 +02:00
parent 0aa073f2a7
commit 0b6929af8f
12 changed files with 119 additions and 121 deletions

View File

@@ -31,10 +31,18 @@ export class Smartsocket {
})
}
/**
* starts the server with another server
*/
async startWithSpecificServer() {
}
/**
* closes the server
*/
async closeServer () {
await plugins.smartdelay.delayFor(1000)
this.openSockets.forEach((socketObjectArg: SocketConnection) => {
plugins.beautylog.log(`disconnect socket with >>alias ${socketObjectArg.alias}`)
socketObjectArg.socket.disconnect()