Hazelcast C++ Client
Public Member Functions | List of all members
hazelcast::client::GroupConfig Class Reference

Contains the configuration for Hazelcast groups. More...

#include <GroupConfig.h>

Public Member Functions

 GroupConfig (const std::string &name, const std::string &password)
 Creates a GroupConfig with the given group-name and default group-password. More...
 
std::string getPassword () const
 Gets the password to connect to to the group. More...
 
std::string getName () const
 Gets the name of the group. More...
 
GroupConfigsetPassword (const std::string &password)
 Sets the password. More...
 
GroupConfigsetName (const std::string &name)
 Sets the group name. More...
 

Detailed Description

Contains the configuration for Hazelcast groups.

With groups it is possible to create multiple clusters where each cluster has its own group and doesn't interfere with other clusters.

Constructor & Destructor Documentation

hazelcast::client::GroupConfig::GroupConfig ( const std::string &  name,
const std::string &  password 
)

Creates a GroupConfig with the given group-name and default group-password.

Parameters
namethe name of the group
passwordthe password of the group

Member Function Documentation

std::string hazelcast::client::GroupConfig::getName ( ) const

Gets the name of the group.

Returns
the name
std::string hazelcast::client::GroupConfig::getPassword ( ) const

Gets the password to connect to to the group.

Returns
the password
GroupConfig & hazelcast::client::GroupConfig::setName ( const std::string &  name)

Sets the group name.

Parameters
namethe name to set
Returns
the updated GroupConfig.
GroupConfig & hazelcast::client::GroupConfig::setPassword ( const std::string &  password)

Sets the password.

Parameters
passwordthe password to set
Returns
the updated GroupConfig.

The documentation for this class was generated from the following files: