Re: [Embedlets-dev] Device polling
Status: Alpha
Brought to you by:
tkosan
|
From: Brill P. <bri...@ro...> - 2003-02-18 01:29:12
|
> Logical functions are by nature state and not event driven. You can make > them event driven by performing the logical function in response to a > change, however this leads to initial state problems and race conditions. Or > you can use a timer to issue an event that causes the logical deveices to > poll their state and assert some output. Complex systems are usually a mix > of state (polled) and event driven components. Yes, I understand what you are saying... I saying that there is no way a good implementation should leave the inner workings of the hardware to the enterprise developer... not if that's who we're still targeting... I tend to think its bad practice for an API to expose everything it does... it allows to much in the way of proprietary code, security holes and simple failure from developers who don't know the caveats of a particular set of hardware. IMO the embedlets are the business logic on top of the device pool... the device pool knows what it has and what it can do, the embedlets are the place where the information from the devices are configured, processed and distributed. - Brill Pappin |