Program Callback Functions

Fault tolerance callback functions must do the required action, as specified by the action token.

The basic structure of a fault tolerance callback function is a C switch statement that branches on the action token. The specific actions of the callback function within the case clauses of that switch statement depend on application semantics. (In other programming languages, use analogous constructs.)

Fault Tolerance Callback Function

C

tibrvftMemberCallback

C++

TibrvFtMemberCallback::onFtAction()

Java

TibrvFtMemberCallback.onFtAction()

.NET

ActionTokenReceivedEventHandler

See Also

Fault Tolerance Callback Actions

Ensure Timely Event Processing