Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
gpg::ConnectionRequest
#include <nearby_connection_types.h>
Eine Anfrage zum Herstellen einer Verbindung.
Zusammenfassung
Öffentliche Attribute
|
payload
|
std::vector< uint8_t >
Eine benutzerdefinierte Nachricht, die mit der Verbindungsanfrage gesendet wurde.
|
remote_endpoint_id
|
std::string
Die ID des Remote-Endpunkts, der eine Verbindung anfordert.
|
remote_endpoint_name
|
std::string
Der Name der Instanz, die eine Verbindung anfordert.
|
Öffentliche Attribute
payload
std::vector< uint8_t > gpg::ConnectionRequest::payload
Eine benutzerdefinierte Nachricht, die mit der Verbindungsanfrage gesendet wurde.
remote_endpoint_id
std::string gpg::ConnectionRequest::remote_endpoint_id
Die ID des Remote-Endpunkts, der eine Verbindung anfordert.
remote_endpoint_name
std::string gpg::ConnectionRequest::remote_endpoint_name
Der Name der Instanz, die eine Verbindung anfordert.
Alle Inhalte und Codebeispiele auf dieser Seite unterliegen den Lizenzen wie im Abschnitt Inhaltslizenz beschrieben. Java und OpenJDK sind Marken oder eingetragene Marken von Oracle und/oder seinen Tochtergesellschaften.
Zuletzt aktualisiert: 2025-07-27 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-27 (UTC)."],[],[],null,["# gpg::ConnectionRequest Struct Reference\n\ngpg::ConnectionRequest\n======================\n\n`#include \u003cnearby_connection_types.h\u003e`\n\nA request to establish a connection.\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|\n| [payload](#structgpg_1_1_connection_request_1a28023285a3a3aa00ff67567517ceafef) | `std::vector\u003c uint8_t \u003e` A custom message sent with the connection request. |\n| [remote_endpoint_id](#structgpg_1_1_connection_request_1a5255399171cda9c7aacd60eeec37b635) | `std::string` The ID of the remote endpoint that is requesting a connection. |\n| [remote_endpoint_name](#structgpg_1_1_connection_request_1ac4f4c3030d3649975e90b55fa53e3f69) | `std::string` The name of the instance that is requesting a connection. |\n\nPublic attributes\n-----------------\n\n### payload\n\n```c++\nstd::vector\u003c uint8_t \u003e gpg::ConnectionRequest::payload\n``` \nA custom message sent with the connection request. \n\n### remote_endpoint_id\n\n```c++\nstd::string gpg::ConnectionRequest::remote_endpoint_id\n``` \nThe ID of the remote endpoint that is requesting a connection. \n\n### remote_endpoint_name\n\n```c++\nstd::string gpg::ConnectionRequest::remote_endpoint_name\n``` \nThe name of the instance that is requesting a connection."]]