switchCtrlConnectionToReplica()

Switches the CTRL with a specific number over.

Synopsis

int switchCtrlConnectionToReplica(string sSystem, int peerNr, int ctrlNum = myManNum());

Parameters

Parameter Description
sSystem System name
peerNr To which redu host should the function switch
ctrlNum CTRL number

Return value

Errors

Description

Switches the CTRL with a specific number over.

Example

Switches the CTRL with a specific number over.

main()
{
  string sSys = "System1";
  int peerNr = 1;
  switchCtrlConnectionToReplica(sSys,peerNr, myManNum());
}

Assignment

Redu/Dist functions

Availability

CTRL