|
| | Gcs_xcom_proxy_base ()=default |
| |
| | ~Gcs_xcom_proxy_base () override=default |
| |
| bool | xcom_boot_node (Gcs_xcom_node_information &node, uint32_t group_id_hash) override |
| | Function used to boot a node in XCOM. More...
|
| |
| bool | xcom_remove_nodes (Gcs_xcom_nodes &nodes, uint32_t group_id_hash) override |
| | Function to remove a set of nodes from XCOM. More...
|
| |
| bool | xcom_remove_nodes (connection_descriptor &con, Gcs_xcom_nodes &nodes, uint32_t group_id_hash) override |
| | Function to remove a set of nodes from XCOM. More...
|
| |
| bool | xcom_remove_node (const Gcs_xcom_node_information &node, uint32_t group_id_hash) override |
| | Function to remove a node from XCOM. More...
|
| |
| bool | xcom_add_nodes (connection_descriptor &con, Gcs_xcom_nodes &nodes, uint32_t group_id_hash) override |
| | Function to add a set of nodes to XCOM. More...
|
| |
| bool | xcom_add_node (connection_descriptor &con, const Gcs_xcom_node_information &node, uint32_t group_id_hash) override |
| | Function to add a node to XCOM. More...
|
| |
| xcom_event_horizon | xcom_get_minimum_event_horizon () override |
| | Function to retrieve XCOM's minimum supported event horizon value. More...
|
| |
| xcom_event_horizon | xcom_get_maximum_event_horizon () override |
| | Function to retrieve XCOM's maximum supported event horizon value. More...
|
| |
| bool | xcom_get_event_horizon (uint32_t group_id_hash, xcom_event_horizon &event_horizon) override |
| | Function to retrieve XCOM's event horizon. More...
|
| |
| bool | xcom_set_event_horizon (uint32_t group_id_hash, xcom_event_horizon event_horizon) override |
| | Function to reconfigure XCOM's event horizon. More...
|
| |
| bool | xcom_set_leaders (uint32_t group_id_hash, u_int nr_preferred_leaders, char const *preferred_leaders[], node_no max_nr_leaders) override |
| |
| bool | xcom_get_leaders (uint32_t group_id_hash, leader_info_data &leaders) override |
| |
| bool | xcom_get_synode_app_data (Gcs_xcom_node_information const &xcom_instance, uint32_t group_id_hash, const std::unordered_set< Gcs_xcom_synode > &synode_set, synode_app_data_array &reply) override |
| | Function to retrieve the application payloads decided on a set of synodes. More...
|
| |
| bool | xcom_set_cache_size (uint64_t size) override |
| | Function to reconfigure the maximum size of the XCom cache. More...
|
| |
| bool | xcom_force_nodes (Gcs_xcom_nodes &nodes, uint32_t group_id_hash) override |
| |
| bool | initialize_network_manager () override |
| | Initializes XCom's Network Manager. More...
|
| |
| bool | finalize_network_manager () override |
| | Finalizes XCom's Network Manager. More...
|
| |
| bool | set_network_manager_active_provider (enum_transport_protocol new_value) override |
| | Set XCom's network manager active provider. More...
|
| |
| | Gcs_xcom_proxy ()=default |
| |
| virtual | ~Gcs_xcom_proxy ()=default |
| | The destructor. More...
|
| |
| virtual node_address * | new_node_address_uuid (unsigned int n, char const *names[], blob uuids[])=0 |
| | This is an utility member function that is used to call into XCom for creating list with node's addresses and their associated UUIDs. More...
|
| |
| virtual void | delete_node_address (unsigned int n, node_address *na)=0 |
| | This function is responsible to delete the list of nodes that had been previously created by new_node_address. More...
|
| |
| virtual bool | xcom_client_add_node (connection_descriptor *fd, node_list *nl, uint32_t group_id)=0 |
| | This member function is responsible to call into XCom consensus and add a node to the group. More...
|
| |
| virtual bool | xcom_client_remove_node (node_list *nl, uint32_t group_id)=0 |
| | This member function is responsible for triggering the removal of a node from the XCom configuration. More...
|
| |
| virtual bool | xcom_client_remove_node (connection_descriptor *fd, node_list *nl, uint32_t group_id)=0 |
| | This member function is responsible for triggering the removal of a node from the XCom configuration. More...
|
| |
| virtual bool | xcom_client_get_event_horizon (uint32_t group_id, xcom_event_horizon &event_horizon)=0 |
| | This member function is responsible for retrieving the event horizon of the XCom configuration. More...
|
| |
| virtual bool | xcom_client_set_event_horizon (uint32_t group_id, xcom_event_horizon event_horizon)=0 |
| | This member function is responsible for triggering the reconfiguration of the event horizon of the XCom configuration. More...
|
| |
| virtual bool | xcom_client_set_leaders (uint32_t group_id, u_int nr_preferred_leaders, char const *preferred_leaders[], node_no max_nr_leaders)=0 |
| | This member function is responsible for triggering the reconfiguration of the leaders of the XCom configuration. More...
|
| |
| virtual bool | xcom_client_get_leaders (uint32_t group_id, leader_info_data &leaders)=0 |
| | This member function is responsible for retrieving the leaders of the XCom configuration. More...
|
| |
| virtual bool | xcom_client_get_synode_app_data (connection_descriptor *fd, uint32_t group_id, synode_no_array &synodes, synode_app_data_array &reply)=0 |
| | This member function is responsible for retrieving the application payloads decided in the synodes in synodes, from the XCom instance connected to via fd. More...
|
| |
| virtual bool | xcom_client_set_cache_size (uint64_t size)=0 |
| | This member function is responsible for setting a new value for the maximum size of the XCom cache. More...
|
| |
| virtual bool | xcom_client_send_data (unsigned long long size, char *data)=0 |
| | This member function is responsible for pushing data into consensus on XCom. More...
|
| |
| virtual void | xcom_init (xcom_port listen_port)=0 |
| | This member function initializes XCom. More...
|
| |
| virtual void | xcom_exit ()=0 |
| | This member function finishes the XCom thread. More...
|
| |
| virtual int | xcom_get_ssl_mode (const char *mode)=0 |
| |
| virtual int | xcom_set_ssl_mode (int mode)=0 |
| |
| virtual int | xcom_get_ssl_fips_mode (const char *mode)=0 |
| |
| virtual int | xcom_set_ssl_fips_mode (int mode)=0 |
| |
| virtual bool | xcom_init_ssl ()=0 |
| | Initialize the SSL. More...
|
| |
| virtual void | xcom_destroy_ssl ()=0 |
| |
| virtual bool | xcom_use_ssl ()=0 |
| | Return whether the SSL will be used to encrypt data or not. More...
|
| |
| virtual void | xcom_set_ssl_parameters (ssl_parameters ssl, tls_parameters tls)=0 |
| |
| virtual site_def const * | find_site_def (synode_no synode)=0 |
| |
| virtual bool | xcom_client_boot (node_list *nl, uint32_t group_id)=0 |
| | This member function boots XCom. More...
|
| |
| virtual connection_descriptor * | xcom_client_open_connection (std::string addr, xcom_port port)=0 |
| | This member function opens a connection to an XCom instance. More...
|
| |
| virtual bool | xcom_client_close_connection (connection_descriptor *fd)=0 |
| | This member function closes the connection to an XCom instance. More...
|
| |
| virtual enum_gcs_error | xcom_wait_ready ()=0 |
| | This member waits for XCom to be initialized. More...
|
| |
| virtual bool | xcom_is_ready ()=0 |
| |
| virtual void | xcom_set_ready (bool value)=0 |
| |
| virtual void | xcom_signal_ready ()=0 |
| |
| virtual void | xcom_wait_for_xcom_comms_status_change (int &status)=0 |
| | Call this method to wait for XCom communications to be initialized. More...
|
| |
| virtual bool | xcom_has_comms_status_changed ()=0 |
| |
| virtual void | xcom_set_comms_status (int status)=0 |
| |
| virtual void | xcom_signal_comms_status_changed (int status)=0 |
| |
| virtual enum_gcs_error | xcom_wait_exit ()=0 |
| | Call this method to wait for XCom to exit. More...
|
| |
| virtual bool | xcom_is_exit ()=0 |
| | This verifies if XCom has finished or not. More...
|
| |
| virtual void | xcom_set_exit (bool value)=0 |
| | This sets whether XCom has finished or not. More...
|
| |
| virtual void | xcom_set_cleanup ()=0 |
| | Clean up variables used to notify states in the XCOM's state machine. More...
|
| |
| virtual void | xcom_signal_exit ()=0 |
| | This modifies the internal cached status and signals all threads that might be waiting on xcom_wait_exit. More...
|
| |
| virtual bool | xcom_client_force_config (node_list *nl, uint32_t group_id)=0 |
| | This method forces XCom to inject a new configuration in the group, even if it does not contain a majority of members. More...
|
| |
| virtual bool | xcom_force_nodes (Gcs_xcom_nodes &nodes, unsigned int group_id_hash)=0 |
| | Function to force the set of nodes in XCOM's configuration. More...
|
| |
| virtual bool | get_should_exit ()=0 |
| | Function that retrieves the value that signals that XCom must be forcefully stopped. More...
|
| |
| virtual void | set_should_exit (bool should_exit)=0 |
| | Function that sets the value that signals that XCom must be forcefully stopped. More...
|
| |
| virtual bool | xcom_input_connect (std::string const &address, xcom_port port)=0 |
| | Opens the input channel to XCom. More...
|
| |
| virtual void | xcom_input_disconnect ()=0 |
| | Closes the input channel to XCom. More...
|
| |
| virtual bool | xcom_input_try_push (app_data_ptr data)=0 |
| | Attempts to send the command data to XCom. More...
|
| |
| virtual Gcs_xcom_input_queue::future_reply | xcom_input_try_push_and_get_reply (app_data_ptr data)=0 |
| | Attempts to send the command data to XCom, and returns a future to XCom's reply. More...
|
| |
| virtual xcom_input_request_ptr | xcom_input_try_pop ()=0 |
| | Attempts to retrieve incoming commands. More...
|
| |