<commit_before>"use strict";

const msg_types = require("webrtc-conductor").enums,
	  WebSocketServer = require("ws").server,
	  u = require("./UtilFunctions.js");

class BootstrapChannelServer{
	constructor(chord){
		this._manager = null;
		this.wss = null;
		this.chord = chord;
	}

	get internalID(){
		return "Boot-Client";
	}

	onbind(){
		let t = this;
		this.wss = new WebSocketServer(t.chord.config.serverConfig);
		u.log(t.chord, "Bound, opening WSS.");

		return new Promise((resolve, reject) => {<commit_msg>Fixing WebSocketServer instantiation.<commit_after>"use strict";

const msg_types = require("webrtc-conductor").enums,
	  WebSocketServer = require("ws").Server,
	  u = require("./UtilFunctions.js");

class BootstrapChannelServer{
	constructor(chord){
		this._manager = null;
		this.wss = null;
		this.chord = chord;
	}

	get internalID(){
		return "Boot-Client";
	}

	onbind(){
		let t = this;
		this.wss = new WebSocketServer(t.chord.config.serverConfig);
		u.log(t.chord, "Bound, opening WSS.");

		return new Promise((resolve, reject) => {
{'fraction_non_alphanumeric': 0.1553672316384181, 'fraction_numerical': 0.0, 'mean_word_length': 4.3686868686868685, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '900512', 'n_tokens_mistral': 395, 'n_tokens_neox': 360, 'n_words': 76}