Fawkes API  Fawkes Development Version
fawkes::GossipGroupConfiguration Class Reference

Group configuration for initial groups. More...

#include <>>

Public Member Functions

 GossipGroupConfiguration ()
 Constructor. More...
 
 GossipGroupConfiguration (const GossipGroupConfiguration &c)
 Copy contructor. More...
 
 GossipGroupConfiguration (std::string &name, std::string &broadcast_address, unsigned short broadcast_port)
 Constructor. More...
 
 GossipGroupConfiguration (std::string &name, std::string &broadcast_address, unsigned short send_port, unsigned short recv_port)
 Constructor. More...
 

Public Attributes

std::string name
 name of the group More...
 
std::string broadcast_addr
 Broadcast IP Addr. More...
 
unsigned short send_port
 UDP port to send messages to. More...
 
unsigned short recv_port
 UDP port to list on for messages. More...
 
std::string crypto_key
 encryption key More...
 
std::string crypto_cipher
 encryption cipher More...
 

Detailed Description

Group configuration for initial groups.

Definition at line 41 of file gossip_group_manager.h.

Constructor & Destructor Documentation

◆ GossipGroupConfiguration() [1/4]

fawkes::GossipGroupConfiguration::GossipGroupConfiguration ( )

Constructor.

Definition at line 39 of file gossip_group_manager.cpp.

◆ GossipGroupConfiguration() [2/4]

fawkes::GossipGroupConfiguration::GossipGroupConfiguration ( const GossipGroupConfiguration c)

Copy contructor.

Parameters
cgroup configuration to copy

Definition at line 75 of file gossip_group_manager.cpp.

◆ GossipGroupConfiguration() [3/4]

fawkes::GossipGroupConfiguration::GossipGroupConfiguration ( std::string &  name,
std::string &  broadcast_address,
unsigned short  broadcast_port 
)

Constructor.

Parameters
namename of the group
broadcast_addressIPv4 address to broadcast to
broadcast_portUDP port to listen on for the group

Definition at line 49 of file gossip_group_manager.cpp.

◆ GossipGroupConfiguration() [4/4]

fawkes::GossipGroupConfiguration::GossipGroupConfiguration ( std::string &  name,
std::string &  broadcast_address,
unsigned short  send_port,
unsigned short  recv_port 
)

Constructor.

Parameters
namename of the group
broadcast_addressIPv4 address to broadcast to
send_portUDP port to send messages to
recv_portUDP port to listen on for the group

Definition at line 63 of file gossip_group_manager.cpp.

Member Data Documentation

◆ broadcast_addr

std::string fawkes::GossipGroupConfiguration::broadcast_addr

Broadcast IP Addr.

Definition at line 54 of file gossip_group_manager.h.

Referenced by fawkes::GossipGroupManager::leave_group().

◆ crypto_cipher

std::string fawkes::GossipGroupConfiguration::crypto_cipher

encryption cipher

Definition at line 58 of file gossip_group_manager.h.

Referenced by fawkes::GossipGroupManager::leave_group().

◆ crypto_key

std::string fawkes::GossipGroupConfiguration::crypto_key

encryption key

Definition at line 57 of file gossip_group_manager.h.

Referenced by fawkes::GossipGroupManager::leave_group().

◆ name

std::string fawkes::GossipGroupConfiguration::name

name of the group

Definition at line 53 of file gossip_group_manager.h.

Referenced by fawkes::GossipGroupManager::leave_group().

◆ recv_port

unsigned short fawkes::GossipGroupConfiguration::recv_port

UDP port to list on for messages.

Definition at line 56 of file gossip_group_manager.h.

Referenced by fawkes::GossipGroupManager::leave_group().

◆ send_port

unsigned short fawkes::GossipGroupConfiguration::send_port

UDP port to send messages to.

Definition at line 55 of file gossip_group_manager.h.

Referenced by fawkes::GossipGroupManager::leave_group().


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