Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is Recoverability and how to set an individual RecoverLevel per XCF object instance?

0
Posted

What is Recoverability and how to set an individual RecoverLevel per XCF object instance?

0

XCF objects are able to recover themself from certain error conditions like e.g. a missing server object when calling receive on an XCF Publisher or callMethod on an XCF Server instance. This XCF feature is called Recoverability but for development purposes switched of by default. Even so, it can be very useful for indivual XCF objects like a subscriber and situations where e.g. an XCF component containing a subscriber is started before the corresponding publisher. To prevent writing the re-connection code yourself, we introduced recoverability. The default “recoverability” of all instantiated XCF components can be set with the XCF.Global.RecoverLevel property and is set to NONE as stated above. Even though, it is possible to set the recoverability level of an XCF object individually. Therefore, an overloaded create-method exists that can take an additional RecoverLevel parameter that has one of the following values: NONE, LIMITED, FULL. The subscriber of the stream example uses FULL r

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123