示例#1
0
        private void MqttClient_ApplicationMessageReceived(object sender, MqttApplicationMessageReceivedEventArgs e)
        {
            AwsMqttConnection awsMqttConnection = new AwsMqttConnection();
            string            message           = awsMqttConnection.ProcessReceivedMessages(e);

            Logger.LogInfo(message);
        }
        private void MqttClient_ApplicationMessageReceived(object sender, MqttApplicationMessageReceivedEventArgs e)
        {
            AwsMqttConnection awsMqttConnection = new AwsMqttConnection();

            view1.SubscribeMessageText = awsMqttConnection.ProcessReceivedMessages(e);
        }