Repository navigation
Conversation
A CRUDE but working first attempt (But throws Errors and Eventually Disconnects)
to all stream handlers check method names check attachement of adapters to devices in simulation
|
|
||
| def process(self, msec): | ||
| for handler in self._accepted_connections: | ||
| if self._device_event_message: |
There was a problem hiding this comment.
Perhaps I am missing something but where does self._device_event_message get set?
|
I think this looks promising, obviously as a WIP there are a few rough edges. I am wondering about whether we need an new abstraction for this type of thing, but I would need to remind myself of how lewis works ;) We'll see what @DominicOram thinks when he gets back, but I think this implementation would be okay. |
|
Sorry, I haven't forgotten about this, it's just low priority for me right now. Are you wanting it to be merged soon @auphofBSF? |

This PR attempts to solve #297 , it provides mechanisms to
StreamHandlerswith connected clients. This could be from regular periodic events or any other non regular computed eventsIn addition an example is provided in
lewis.examplesaccessible aslewis -k lewis.examples simple_eventing_state_deviceSubject to initial review, docs and possibly some tests need to be generated