update the configuration
This commit is contained in:
@@ -16,11 +16,13 @@ namespace aman {
|
||||
* @ingroup types
|
||||
*/
|
||||
struct Communication {
|
||||
bool valid; /**< Marks if the configuration is valid */
|
||||
std::string address; /**< The address of the backend */
|
||||
std::uint16_t portReporter; /**< The reported port of the backend */
|
||||
std::uint16_t portNotification; /**< The notification port of the backend */
|
||||
std::string identifier; /**< The user's identifier for the connection */
|
||||
bool valid; /**< Marks if the configuration is valid */
|
||||
std::string address; /**< The address of the backend */
|
||||
std::uint16_t portReporter; /**< The reported port of the backend */
|
||||
std::uint16_t portNotification; /**< The notification port of the backend */
|
||||
std::string serverPublicIdentifier; /**< The server's public identifier */
|
||||
std::string clientPublicIdentifier; /**< The client's public identifier */
|
||||
std::string clientPrivateIdentifier; /**< The client's private identifier */
|
||||
|
||||
/**
|
||||
* @brief Initializes an invalid configuration
|
||||
@@ -30,6 +32,8 @@ namespace aman {
|
||||
address(),
|
||||
portReporter(0),
|
||||
portNotification(0),
|
||||
identifier() { }
|
||||
serverPublicIdentifier(),
|
||||
clientPublicIdentifier(),
|
||||
clientPrivateIdentifier() { }
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user