Babel
Epitech's C++ VoIP project
Public Member Functions | Public Attributes | List of all members
Babel::MessageHeader< T > Struct Template Reference

#include <Message.hpp>

Collaboration diagram for Babel::MessageHeader< T >:

Public Member Functions

void handleEndianness ()
 Transform to network endianness the MessageHeader. More...
 

Public Attributes

codeId
 The code id of the message to known what it's taking about. More...
 
uint32_t bodySize = 0
 The size of the message body in bytes. More...
 

Member Function Documentation

◆ handleEndianness()

template<typename T >
void Babel::MessageHeader< T >::handleEndianness

Transform to network endianness the MessageHeader.

Warning
Function should not be called by the user (the send function should do it)

Member Data Documentation

◆ bodySize

template<typename T >
uint32_t Babel::MessageHeader< T >::bodySize = 0

The size of the message body in bytes.

◆ codeId

template<typename T >
T Babel::MessageHeader< T >::codeId

The code id of the message to known what it's taking about.


The documentation for this struct was generated from the following file: