Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kura-dev] Event driven processing for Driver/Asset

Hi Jens,
For your point 1, it’s true at least till release 3.1.1.
As you may have noticed for 3.2.0 release info, we worked on implementing this in Wire Assets to react to Driver events, by emitting corresponding Wire Records.
You can take a reference of the current status and example implementations in the develop codebase and in particular for the GPIO driver and SenseHAT driver.

Best regards,
Matteo

-- 
Matteo Maiero
Senior Software Engineer

direct: +39 0433 485 902

EUROTECH
Imagine.Build.Succeed.
HEADQUARTERS
EUROTECH S.p.A. – Via Fratelli Solari, 3/a | 33020 Amaro UD | Italy | Tel. +39. 0433 485411  | Fax +39. 0433 485499 |
Cap. Soc. 8.878.946,00 € I.V. | P.IVA / C.F.: IT 01791330309 | REA Udine 196115
www.eurotech.com
____________________________________

Il presente messaggio ed ogni suo allegato sono da intendersi inviati esclusivamente agli effettivi destinatari e potrebbero essere soggetti a restrizioni legali. Se avete ricevuto questo messaggio per errore vi invitiamo a darne immediata notifica al mittente e cancellarlo dal vostro sistema. Qualsiasi altro uso di questo messaggio da parte vostra e' strettamente proibito.
 
This e-mail, and any file attached to it, is meant only for the intended recipient of the transmission and may be a communication privileged by law. If you have received it in error, please notify the sender immediately and delete the original from your system. Any other use of this e-mail by you is strictly forbidden.

On 14 Feb 2018, at 15:56, Jens Reimann <jreimann@xxxxxxxxxx> wrote:

Hi,

I am currently investigating how to implement a new Driver/Asset provider. The driver I would like to implement would use event driven notifications. It seems that the current implement of Kura only allows polling read implementations.

So my questions are:

1) Is that correct? Or did I miss something.
2) Are there any ideas how an event driven source could be properly implemented in Kura. I mean rather than simply internally caching the values and waiting for a polling read.

Thanks

Jens

--
Jens Reimann
Senior Software Engineer / EMEA ENG Middleware
Werner-von-Siemens-Ring 14
85630 Grasbrunn
Germany
phone: +49 89 2050 71286
_____________________________________________________________________________

Red Hat GmbH, www.de.redhat.com,
Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham, Michael O'Neill
_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev


Back to the top