Root / Assembly / ARCCore / Class / StreamProcessor / _Member / AddOrRemoveOutgoingConnections
|Description||Not relevant for CoreDB.|
Note how this method supports live updating of connecting instructions over the PropertyStream because it can be called at regular intervals.
(TODO: Live updating is not implemented from 'outside' as of Mar 2020).
Should be called after -Initialize.
For each outgoing connection not found in list of connection instructions, add it to list. For each active (outgoing) connection not on list of outgoing connections, close it.
Note how the actual objects are shared with the 'outside' after the call, meaning that changes to for instance the subscripton, could be immediately reflected on the 'inside' (here). In practical terms this is however a bit difficult to achieve so in practise. A work-around could be (when you want to change some parameters for a specific connection), that you set the connection Invalid, call this metod, do the changes, set it valid-again (by setting Invalid to default(DateTime), and call this method a final time.
TODO: Find some better way than description above.
Generated 2020-10-13 11:11:05.384 UTC