setupEventHandlers(): void {
        // Setup necessary command event handlers based on the command
        switch (this.commandText) {
            case Commands.extension_list.toString(): {
                this.connection.on('endpointlist', new CallbackContext(this.onEndpointList.bind(this), this));