#include <gcs_xcom_utils.h>
◆ ~Gcs_xcom_utils()
  
  
      
        
          | Gcs_xcom_utils::~Gcs_xcom_utils  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtualdefault   | 
  
 
 
◆ build_xcom_group_id()
Create a xcom group identifier from a Group Identifier. 
- Parameters
 - 
  
    | [in] | group_id | A group identifier | 
  
   
- Returns
 - an hash of the group identifier string that will serve as input for the group id in XCom 
 
 
 
◆ deinit_net()
  
  
      
        
          | int Gcs_xcom_utils::deinit_net  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ init_net()
  
  
      
        
          | int Gcs_xcom_utils::init_net  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ mhash()
  
  
      
        
          | uint32_t Gcs_xcom_utils::mhash  | 
          ( | 
          const unsigned char *  | 
          buf,  | 
         
        
           | 
           | 
          size_t  | 
          length  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Simple multiplicative hash. 
- Parameters
 - 
  
    | buf | the data to create an hash from  | 
    | length | data length | 
  
   
- Returns
 - calculated hash 
 
 
 
◆ process_peer_nodes()
  
  
      
        
          | void Gcs_xcom_utils::process_peer_nodes  | 
          ( | 
          const std::string *  | 
          peer_nodes,  | 
         
        
           | 
           | 
          std::vector< std::string > &  | 
          processed_peers  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Processes a list of comma separated peer nodes. 
- Parameters
 - 
  
     | peer_nodes | input string of comma separated peer nodes  | 
    | [out] | processed_peers | the list of configured peers  | 
  
   
 
 
◆ validate_peer_nodes()
  
  
      
        
          | void Gcs_xcom_utils::validate_peer_nodes  | 
          ( | 
          std::vector< std::string > &  | 
          peers,  | 
         
        
           | 
           | 
          std::vector< std::string > &  | 
          invalid_peers  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Validates peer nodes according with IP/Address rules enforced by is_valid_hostname function. 
- Parameters
 - 
  
    | [in,out] | peers | input list of peer nodes. It will be cleansed of invalid peers  | 
    | [in,out] | invalid_peers | This list will contain all invalid peers.  | 
  
   
 
 
The documentation for this class was generated from the following files: