initWebsocketManager()

in src/core/connectionHelpers/LpcConnectionHelper.js [91:100]


  initWebsocketManager(websocketManager) {
    this.websocketManager = websocketManager;
    this.websocketManager.subscribeTopics(['aws/task']);
    this.subscriptions = [
      this.websocketManager.onMessage('aws/task', this.handleMessage.bind(this)),
      this.websocketManager.onConnectionGain(this.handleConnectionGain.bind(this)),
      this.websocketManager.onConnectionLost(this.handleConnectionLost.bind(this)),
      this.websocketManager.onInitFailure(this.handleEnded.bind(this)),
    ];
  }