yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
agt_yp_ha_standby.h File Reference

YumaPro High Availability module (YP-HA). More...

#include "agt.h"
#include "agt_yp_ha.h"
#include "status_enum.h"
Include dependency graph for agt_yp_ha_standby.h:

Go to the source code of this file.

Functions

status_t agt_yp_ha_standby_go (yp_ha_service_t *ha_serv)
 Go into YP-HA Standby server mode. More...
 
void agt_yp_ha_standby_stop (yp_ha_service_t *ha_serv)
 Exit YP-HA Standby server mode. More...
 
void agt_yp_ha_standby_init (yp_ha_service_t *ha_serv)
 Initialize the YP-HA Standby module. More...
 
status_t agt_yp_ha_standby_setup (yp_ha_service_t *ha_serv, const xmlChar *new_server_id)
 Setup the HA service standby_cb record for YP-HA Standby mode. More...
 
void agt_yp_ha_standby_cleanup (yp_ha_service_t *ha_serv)
 Cleanup the YP-HA Standby module. More...
 
void agt_yp_ha_standby_check_cleanup (yp_ha_service_t *ha_serv)
 Check if the cleanup of standby mode is needed. More...
 
status_t agt_yp_ha_standby_get_config_info (yp_ha_service_t *ha_serv, ncx_transaction_id_t *config_id, const xmlChar **config_stamp)
 Get the config ID and timestamp info. More...
 
const xmlChar * agt_yp_ha_standby_get_active_server (yp_ha_service_t *ha_serv)
 Get the active server or in progress of connecting. More...
 

Detailed Description

YumaPro High Availability module (YP-HA).

HA Standby Mode