_initConnectionHelper()

in src/core/taskController.js [65:72]


  _initConnectionHelper() {
    this.connectionHelper = new LpcConnectionHelper(this.contactId, this.initialContactId, this.websocketManager);
    this.connectionHelper.onEnded(this._handleEndedConnection.bind(this));
    this.connectionHelper.onConnectionLost(this._handleLostConnection.bind(this));
    this.connectionHelper.onConnectionGain(this._handleGainedConnection.bind(this));
    this.connectionHelper.onMessage(this._handleIncomingMessage.bind(this));
    return this.connectionHelper.start();
  }