|
Wavelength
Privacy-focused, cross-platform, and open-source communication application
|
Structure holding information about a specific wavelength (frequency). More...
#include <wavelength_registry.h>
Public Attributes | |
| QDateTime | created_at = QDateTime::currentDateTime() |
| Timestamp when this wavelength information was created or added to the registry locally. | |
| QString | frequency |
| The unique identifier (name) of the wavelength. | |
| QString | host_id |
| The unique client ID of the user hosting the wavelength. | |
| int | host_port = 0 |
| The port number the host is listening on. | |
| bool | is_closing = false |
| Flag indicating if the wavelength is currently in the process of being closed. | |
| bool | is_host = false |
| True if the current user is the host of this wavelength. | |
| bool | is_password_protected = false |
| True if the wavelength requires a password to join. | |
| QString | password |
| The password for the wavelength (if protected). | |
| QPointer< QWebSocket > | socket = nullptr |
| QPointer to the WebSocket connection associated with this wavelength. Automatically nullifies if the socket is deleted. | |
Structure holding information about a specific wavelength (frequency).
Contains details like password protection status, host information, the associated WebSocket connection, and state flags.
| QDateTime WavelengthInfo::created_at = QDateTime::currentDateTime() |
Timestamp when this wavelength information was created or added to the registry locally.
| QString WavelengthInfo::frequency |
The unique identifier (name) of the wavelength.
| QString WavelengthInfo::host_id |
The unique client ID of the user hosting the wavelength.
| int WavelengthInfo::host_port = 0 |
The port number the host is listening on.
| bool WavelengthInfo::is_closing = false |
Flag indicating if the wavelength is currently in the process of being closed.
| bool WavelengthInfo::is_host = false |
True if the current user is the host of this wavelength.
| bool WavelengthInfo::is_password_protected = false |
True if the wavelength requires a password to join.
| QString WavelengthInfo::password |
The password for the wavelength (if protected).
| QPointer<QWebSocket> WavelengthInfo::socket = nullptr |
QPointer to the WebSocket connection associated with this wavelength. Automatically nullifies if the socket is deleted.