Babel
Epitech's C++ VoIP project
|
struct to handle all Call related data More...
#include <Call.hpp>
Classes | |
struct | Participant |
struct to handle all Call related data More... | |
Public Member Functions | |
Call () | |
void | addParticipant (ITCPConnection< RFCCodes > &p, std::string udpAddress, uint16_t udpPort, std::string username) |
bool | isParticipant (const ITCPConnection< RFCCodes > &p) const |
void | removeParticipant (ITCPConnection< RFCCodes > &p) |
Message< RFCCodes > & | appendAllIPs (Message< RFCCodes > &m) const |
Public Attributes | |
std::vector< Participant > | participants |
struct to handle all Call related data
|
explicit |
void Babel::Call::addParticipant | ( | ITCPConnection< RFCCodes > & | p, |
std::string | udpAddress, | ||
uint16_t | udpPort, | ||
std::string | username | ||
) |
bool Babel::Call::isParticipant | ( | const ITCPConnection< RFCCodes > & | p | ) | const |
void Babel::Call::removeParticipant | ( | ITCPConnection< RFCCodes > & | p | ) |
std::vector<Participant> Babel::Call::participants |