/// <summary>
        /// Initialises an instance of the <see cref="MqttConnection"/> class.
        /// </summary>
        /// <param name="registrationData"></param>
        public MqttConnection(RegistrationData registrationData)
        {
            registrationData.ShouldNotBeNull();

            m_RegistrationData = registrationData;
            m_Synclock = new object();
        }
        /// <summary>
        /// Initialises an instance of the <see cref="AmqpBuilder"/> class.
        /// </summary>
        /// <param name="endpointAddress"></param>
        public MqttBuilder(RegistrationData endpointAddress)
        {
            endpointAddress.ShouldNotBeNull();

            m_EndpointAddress = endpointAddress;

            //m_Connection = new MqttConnection(endpointAddress);
        }