tibrvftAction

Type

Declaration

typedef enum
{
    TIBRVFT_PREPARE_TO_ACTIVATE = 1,
    TIBRVFT_ACTIVATE            = 2,
    TIBRVFT_DEACTIVATE          = 3
} tibrvftAction;

Purpose

Instruct fault tolerance callback methods to react to changing circumstances.

Remarks

Each token of this enumerated type designates a command to a fault tolerance callback method. The program’s callback method receives one of these tokens in a parameter, and interprets it as an instruction from the Rendezvous fault tolerance software as described in this table (see also, Fault Tolerance Callback Actions in TIBCO Rendezvous Concepts).

Token

Description

TIBRVFT_PREPARE_TO_ACTIVATE

Prepare to activate (hint).

Rendezvous fault tolerance software passes this token to the callback method to instruct the program to make itself ready to activate on short notice—so that if the callback method subsequently receives the instruction to activate, it can do so without delay.

This token is a hint, indicating that the program might soon receive an instruction to activate. It does not guarantee that an activate instruction will follow, nor that any minimum time will elapse before an activate instruction follows.

TIBRVFT_ACTIVATE

Activate immediately.

Rendezvous fault tolerance software passes this token to the callback method to instruct the program to activate.

TIBRVFT_DEACTIVATE

Deactivate immediately.

Rendezvous fault tolerance software passes this token to the callback method to instruct the program to deactivate.

See Also

TibrvFtMemberCallback::onFtAction()

TibrvFtMember::create()