onConnected(wasReconnect) {
		this.connected = true;
		if (this.afterConnect) {
			return this.afterConnect(wasReconnect);
		}

		return this.broker.Promise.resolve();
	}
Event handler for connected.

@param {any} wasReconnect
@returns {Promise}

@memberof BaseTransporter