Babel
Epitech's C++ VoIP project
|
Functions | |
bool | getString (Message< RFCCodes > &m, std::string &str, std::pair< uint8_t, uint8_t > minMaxSize) |
get a string from a message the data layout of the message must be uint8 string_length and the string More... | |
bool | getString (Message< RFCCodes > &m, std::string &str) |
get a string from a message the data layout of the message must be uint8 string_length and the string More... | |
template<typename T > | |
static bool | tryParse (const std::string &s, T &f) |
return true if parsing has been successful result ill be in i More... | |
Message< RFCCodes > | response (uint16_t code, std::string description) |
Create a reply type message, used as a convenient way to quickly construct response description messages. More... | |
Message< RFCCodes > & | appendConnectionIpPort (Message< RFCCodes > &m, ITCPConnection< RFCCodes > &c) |
add the address and port of a tcp connection to a message More... | |
|
inline |
add the address and port of a tcp connection to a message
get a string from a message the data layout of the message must be uint8 string_length and the string
|
inline |
get a string from a message the data layout of the message must be uint8 string_length and the string
Create a reply type message, used as a convenient way to quickly construct response description messages.
|
static |
return true if parsing has been successful result ill be in i