Exemplo n.º 1
0
 void HandlePublishSent(object sender, IdentifiedPacketEventArgs e)
 {
     // a publish was sent to the broker
     (sender as MqttConnection).InterruptLoop();
 }
Exemplo n.º 2
0
        // outgoing publish events
        // =======================

        void HandlePublishSent(object sender, IdentifiedPacketEventArgs e)
        {
            numbersPersistence.RegisterPublishedNumber(this.previousPublishedNumber);
            (sender as MqttConnection).InterruptLoop();
        }