Ejemplo n.º 1
0
 public MQTTDecoderRegistry(IMessageQueue messageQueue, IContextBrokerProxy fiwareContextBroker)
 {
     _bicycleDecoder    = new MQTTDecoderWinterCycle(messageQueue);
     _avlDecoder        = new MQTTDecoderIcomit(messageQueue);
     _weatherDecoder    = new MQTTDecoderAurorasWS(messageQueue);
     _snowdepthDecoder  = new MQTTDecoderSnowdepth(messageQueue, fiwareContextBroker);
     _airqualityDecoder = new MQTTDecoderAirQuality(messageQueue);
     _loraWANDecoder    = new MQTTDecoderLoRaWAN(fiwareContextBroker);
     _nullDecoder       = new MQTTNullDecoder();
 }
Ejemplo n.º 2
0
 public MQTTDecoderLoRaWAN(IContextBrokerProxy fiwareContextBroker)
 {
     _fiwareContextBroker = fiwareContextBroker;
 }
Ejemplo n.º 3
0
 public MQTTDecoderSnowdepth(IMessageQueue messageQueue, IContextBrokerProxy contextBroker)
 {
     _fiwareContextBroker = contextBroker;
     _messageQueue        = messageQueue;
 }