change the configuration to handle the new ZMQ-REQ-REP-protocol and the RestAPI-Update protocol
This commit is contained in:
@@ -17,9 +17,10 @@ namespace aman {
|
||||
*/
|
||||
struct Communication {
|
||||
bool valid; /**< Marks if the configuration is valid */
|
||||
bool httpsProtocol; /**< Marks if the server uses HTTPS */
|
||||
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::uint16_t portBackend; /**< The reported port of the backend */
|
||||
std::uint16_t portRestAPI; /**< 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 */
|
||||
@@ -29,9 +30,10 @@ namespace aman {
|
||||
*/
|
||||
Communication() :
|
||||
valid(false),
|
||||
httpsProtocol(false),
|
||||
address(),
|
||||
portReporter(0),
|
||||
portNotification(0),
|
||||
portBackend(0),
|
||||
portRestAPI(0),
|
||||
serverPublicIdentifier(),
|
||||
clientPublicIdentifier(),
|
||||
clientPrivateIdentifier() { }
|
||||
|
||||
Reference in New Issue
Block a user