Babel
Epitech's C++ VoIP project
Public Member Functions | Public Attributes | List of all members
Babel::HomePage::UserInfo Struct Reference

All the necessary information for a user in call or in the display list. More...

Collaboration diagram for Babel::HomePage::UserInfo:

Public Member Functions

 UserInfo (bool canBeCalled)
 Utility ctor. More...
 
 UserInfo ()
 needed ctor without args More...
 

Public Attributes

std::string address
 The udp address to send our voice to this user. More...
 
uint16_t port
 The udp port to send our voice to this user. More...
 
bool canBeCalled
 Tell the client if he can call this user. More...
 

Detailed Description

All the necessary information for a user in call or in the display list.

Note
by default address is empty and port is set to 0

Constructor & Destructor Documentation

◆ UserInfo() [1/2]

Babel::HomePage::UserInfo::UserInfo ( bool  canBeCalled)
explicit

Utility ctor.

◆ UserInfo() [2/2]

Babel::HomePage::UserInfo::UserInfo ( )
explicit

needed ctor without args

Member Data Documentation

◆ address

std::string Babel::HomePage::UserInfo::address

The udp address to send our voice to this user.

◆ canBeCalled

bool Babel::HomePage::UserInfo::canBeCalled

Tell the client if he can call this user.

◆ port

uint16_t Babel::HomePage::UserInfo::port

The udp port to send our voice to this user.


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