This function returns information about the I/O channel.
mco_channel_info_t mco_HA_get_channel_info ( mco_channel_h chan );
| chan | The I/O channel of the replica |
This function is called by a replica to get information about the I/O channel.
| mco_channel_info_t | The I/O channel information as described below |
typedef struct mco_channel_info_t_
{
char* protocol_type;
mco_counter_t BytesSent;
mco_counter_t BytesRcvd;
mco_bool support_unreliable; mco_bool async_mode;
} mco_channel_info_t, *mco_channel_info_h;
| protocol_type | The network protocol type name |
| BytesSent | The number of bytes sent |
| BytesRead | The number of bytes received |
| support_unreliable | True if the transport supports unreliable data transfer |
| async_mode | True if the master is currently in the asynchronous mode (i.e. the MCO_HAMODE_ASYNCH flag was set and the replica did not set flag MCO_HAMODE_FORCE_SYNC) |