Improvements to mjsonrpc_bm_get_events
Issue #341
new
While the basic functionality is now there to retrieve events from a web page, certain things are still missing and need to be implemented for the whole thing to be usable:
- Ability to specify event ID and trigger mask to be sent
- Option to receive the “last available” event or also “old” events from a buffer. We have to revisit GET_RECENT and confirm it’s working properly
- Filter for certain banks to be displayed. This can be done on the Event Dump web page by SR
-
Fix issues at startup. To reproduce the problem, do:
- start mhttpd
- vie the Event Dump page in the browser, which says ‘Waiting for events…’
- start mdump wihtout any parameter
- start any frontend
- the mdump program will immediately show the first event, while the web page is stuck in ‘Waiting for events…’, only a restart of mhttpd helps
-
(Maybe) implement ‘Get previous event’
Comments (2)
-
-
simple event server is implemented, rare events are now served equally to all consumers. down side is that the same event is always returned again and again until a new event is available. GET_RECENT is not implemented yet, need to fix GET_RECENT in midas buffer code first. K.O.
- Log in to comment
To avoid the wait for a new event, mhttpd has to somehow have access to a recent event of requested type. this is difficult to implement using the existing event buffer API.