ServerIO bind(Engine engine) { this.engine = engine; this.engine!.on('connection', onconnection); return this; }