This function returns a pointer to the communication channel of the replica referenced by the master database handle and the index of the replica.
mco_channel_h mco_HA_get_io_channel( mco_db_h db, int2 index )
db | Connection handle to master database |
index | Index of the replica (from 0 to mco_HA_get_number_of_replicas() – 1 ). |
This function is called by the master to get the I/O channel of the replica referenced by the master database handle and the index of the replica.
mco_channel_h | The I/O channel of the indicated replica or Null |