Posted Sunday November 11 2012
If a live system is running in RightEdge using an MBT plugin and RightEdge gets disconnected(the internet got dc etc), and when it gets reconnected, I need to know if the account I am using has an updated state at the MBT broker side to sync the accounts. But in doing so, the objects in the plugin's classes gets re-initialized and the state of the data structures(dictionaries, lists etc) is cleared.
The problem is how can I use methods like SyncAccount and SetAccount while keepiong the objects in the state that they were in case of a disconnection?
Also, in case of a disconnection, is there a way to use BrokerAccountState, SyncAccount etc without having to stop and restart a live system?