Currently, MMC displays various dialogs (both, native and styled) when ODE has been shutdown. Thanks to a polling interval of 15 seconds, the dialog stack grows quickly.
I propose a more gentle behaviour:
- All exceptions should be swallowed and should change the internal state of the console to "disconnected".
- In the "disconnected" state, the polling interval is reduced to, say, 60 seconds.
- In the "disconnected" state, the MMC should hide those parts of the UI that may display outdated data and should instead display a notification that the connection could not be established and that the MMC is trying it again in X seconds. Similar to GMails jabber roaster.
- Once the connection is back, the state is set to "connected" and the polling interval is back to 15sec.
I hope that sounds reasonable, better ideas are more than welcome.