Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

ctGetFailOverState

Returns current value of the background failover flag variable.

Declaration

TEXT ctGetFailOverState();

Description

ctSetCommProtocolOption() (ctSetCommProtocolOption, ctSetCommProtocolOption) enables a background thread that can toggle a background global state variable. This is useful in failover scenarios as a cluster monitor can send a "back channel" message direct to the client. However, this state variable could be used for any type of external client signaling.

See Also

ctSetClientLibraryOption (ctSetClientLibraryOption, ctSetClientLibraryOption)() ctResetFailOverState() (ctResetFailOverState, ctResetFailOverState)

Return

Zero (0) or one (1).

TOCIndex